question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add an option to disregard the `allowBackup` option for Android 12

See original GitHub issue

Android 11 ignores the allowBackup manifest attribute for device to device transfers (https://developer.android.com/about/versions/11/behavior-changes-11#device-to-device-file-transfer). That means the local backup transport supports it in principle and the apps must support it in principle too. I think it would be a nice addition to Seedvault to make this behavior a (configurable) option. If this is indeed possible of course. This is partly related to #36.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:24
  • Comments:33 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
IzzySoftcommented, Nov 27, 2020

The question is: should they? And who owns the data? I still don’t like the idea that an app tells me what I may gratefully backup and what not. On my Linux system, there are no such restrictions. And nobody would keep me from backing up even e.g. /dev or /proc. And no, I wouldn’t try restoring THAT from a backup either. If I would not know about such culprit, I’d expect a warning. But in the end I’d be the one to decide. Make it an advanced option in the “danger zone” if you like. Etc, I’ve already outlined it above 😉

6reactions
thestingercommented, Nov 27, 2020

So if the user’s computer is compromised and they’ve whitelisted ADB access, adb backup should be able to steal all of their data?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to specify to not allow any data backup with android ...
I've looked at the examples for android:dataExtractionRules xml and none of them show how to configure the equivalent of allowBackup="false" .
Read more >
Back up user data with Auto Backup - Android Developers
You can disable backups by setting android:allowBackup to false . You might want to do this if your app can recreate its state...
Read more >
[GUIDE] How to enable adb backup for any app changing ...
Some applications can't be backed up by adb backup because the option is disabled on the AndroidManifest.xml of the apk. To workaround this,...
Read more >
2 lines in Manifest to remove before sharing your Android ...
Unfortunately some application has a different setting for either allowBackup or supportsRtl or even both. And when that happens, they will have the...
Read more >
Changelog | App Ops
Fix Clipboard monitor does not work on Android 12 Beta 1; Fix "Ignore" cannot ... the displayed options are the intersection of all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found