-
-
Notifications
You must be signed in to change notification settings - Fork 391
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
WIP: Check for updates #3855
WIP: Check for updates #3855
Conversation
Cherry pick of 2537617
`OldTargetApi` default behaviour is to warn (https://googlesamples.github.io/android-custom-lint-rules/checks/OldTargetApi.md.html) Set it back to that, so that CI runs on runners with newer versions of the SDK installed do not fail.
…or-updates # Conflicts: # app/src/main/java/com/keylesspalace/tusky/settings/SettingsConstants.kt # app/src/main/res/values/strings.xml
I'm against deploying different flavors to F-Droid and Google Play. Unnecessary additional complexity. Also, including a Google Play library will give us a "Upstream non free" antifeature on F-Droid which is a no-go imo. |
Some more complexity, yes, but we don't know it's unnecessary yet. At the time of writing approx. 30K users (about 18%) are still on a version < 22 (which was released over a month ago
Doesn't have to. At the moment the release process attaches APKs from Google Play to the GitHub release, but we could change that, and attach an APK built from the fdroid flavor instead. Then "Upstream non-free" wouldn't apply. |
I would also not like different flavors again unless we really really need jt |
I thought it was an explicit project goal not to rely on google services and/or non-free dependencies? |
Yes @nikclayton please don't waste you time on this. (Theoretically we could implement a custom update check, e.g. by hosting a version.json on tusky.app and periodically querying that, but that will add a new step to releasing and its probably not as easy as it sounds...) |
#3882 is a much cleaner version of this which works for F-Droid and GitHub releases too, and doesn't introduce "Upstream non free" on F-Droid. |
This is v22 with some code to check for updates. More details when I've done more testing. In the meantime, I need an APK from CI so it's been signed with the right keys.