Try to remove the requirement of signing the app with the platform key
See original GitHub issueCurrently, Seedvault needs to be signed with the platform key to work (the same key the OS is signed with). It could be possible to get rid of this requirement. For example, by providing an alternative UI path to select storage when the MANAGE_DOCUMENTS
permission was not granted.
If that works, we can use a hidden-api-whitelist configuration instead of signing with platform cert to continue to access the hidden APIs we need for backup: https://github.com/LineageOS/android_vendor_lineage/commit/dab1569b810eb3e1185b1f6521fa159fce57095d example whitelist file
Tasks:
- detect at runtime if permission was granted and choose backup/restore storage UI path accordingly
- implement different UI storage choosing path for backup
- implement different UI storage choosing path for restore
- ensure the user can re-choose a storage location if no backups are found at chosen location
- give option to install NextCloud (if needed)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:16 (9 by maintainers)
Top Results From Across the Web
Android APK signed with PLATFORM key not given system ...
Yes - it is not enough to be signed with the same key, I'd imagine it would need 3 things, 1) App in...
Read more >Sign your app - Android Developers
To provide your own signing key for Google to use when signing your app, select Change app signing key > Use my own...
Read more >Xamarin Android Debug apk not signed properly?
Using a platform key as a signing key ... Clean your app, build and deploy it to device, and then follow any steps...
Read more >Answers to common questions about Play App Signing
Generate your signing key locally on your machine instead. Securely transfer your key to Google Play, and do not delete it from your...
Read more >Signing the Android Application Package - Xamarin
In addition, be sure to back up the resulting keystore file and password in a safe place – it is not included in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I made a first attempt at https://github.com/grote/backup/tree/no-platform-key please let me know if this still crashes due to access to
MANAGE_DOCUMENTS
.@chirayudesai maybe just for this issue, we should test with Android 10 first, because the 11 betas might break other things we don’t know about, yet.