-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Switch AnkiDroid publishing from APK-first to AAB-first #9259
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
Comments
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically |
Yep - this is still important especially while I still remember how to set up AAB from the last app I just built 😅 |
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically |
Going to pin it |
#10027 made me realize that if we allow users to switch locale, but ABB means that Google only ships optimized APKs including the device locale and the default locale resources, then users will not be able to access their preferred locale string translations if the preferred locale is different than the device locale. It looks like this requirement (decouple locale resource installation from device locale) has been added to the core play library APIs so could be handled without too much trouble for ABB / play store builds: https://android-developers.googleblog.com/2019/03/the-latest-android-app-bundle-updates.html |
@mikehardy
According to me, AAB pros outcast cons. To solve the device locale issue:
Also, if we want to split the AAB completely, we can use core play library APIs, as suggested by Mike. At runtime, if the user changes the language from settings, that particular locale-resources can be downloaded. |
To be clear, AAB is the future, I just want to make sure we don't have regressions. |
If I understood the local e packaging right and only the device languages are downloaded, this means that we can't have extinct language like Gothic anymore because no devices will have them. If extinct languages are removed, probably we will be able to add the new Android 13 app language picker as well |
APK files are deprecated by Google for publishing, for good reason.
APK Cons:
APK Pros:
AAB Cons:
AAB Pros:
So our main benefits here are: key rotation on Google Play Store, elimination of architecture-specific builds, and forward-porting**
High-level context is that our publishing infrastructure uses these main components:
Action plan:
Should work?
The text was updated successfully, but these errors were encountered: