-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for requesting update ownership on Android 14+ #591
Conversation
Thanks for your work. I will look into it. Maybe I need a few days. |
I think it is better not to offer the option to enable/disable update ownership enforcement for installed apps because:
I will change your PR in the next days and then merge it. |
Sure, that makes sense. If it makes it any easier, I can update this PR to remove the option and always enable update ownership for Android 14+. EDIT: Done |
e1d24b8
to
94abf63
Compare
If update ownership is requested during the initial install (it is a no-op for updates), then other app stores are not allowed to update the app without explicit user action. This stops Google Play from updating Firefox because the versionCode of the APKs published there are always higher. Signed-off-by: Andrew Gunnerson <[email protected]>
94abf63
to
e39f324
Compare
Thanks |
@all-contributors please add @chenxiaolong for code |
I've put up a pull request to add @chenxiaolong! 🎉 |
- Thanks nortio for fixing primaryColor for status bar color (#609) - Thanks Andrew Gunnerson (chenxiaolong) for setting "update ownership" when installing a new app (#591) - Thanks for the Weblate contributions from: Priit Jõerüüt, Cirnos, Coool (github.com/Coool), Retrial, Flavio F. M., gallegonovato, Scrambled777, 大王叫我来巡山, Kazushi Hayama, Giovanni Donisi, Kirill Isakov, 109247019824 - Dont check for updates / don't download updates when power save mode is enabled - Dont use OkHttp to cache network responses, use custom data structure - Try to fix download timeouts by increasing OkHttp timeout thresholds - Try to fix bug by initialize WorkManager if it is not initialized (#586)
If update ownership is requested during the initial install (it is a no-op for updates), then other app stores are not allowed to update the app without explicit user action. This stops Google Play from updating Firefox because the versionCode of the APKs published there are always higher.
The feature is disabled by default and is hidden if the device is running older versions of Android or if the installer method is not the session installer.EDIT: No longer optionalScreenshot of Google Play's page for Firefox when this option is used: Screenshot_20240525-113105. Firefox also no longer shows up in Google Play's pending updates list.