I have used the latest android packing format bundle and shipped my app to beta channel,bundles reduced ~60% of app size which was really awesome ,
my app has support for english and arabic (can be switched within the app on fly)
now the problem : AFAIK the base apk will only have resources for the users language during app download (if at time of download,if the language was english.only string-en.xml gets downlaoded)
so how do i handle the situation where in user switch the language within the app ..
please let me know..
Currently I only find that by changing the device language in the system settings, your app will automatically download the additional language APK from Play Store given that you have included that language's resource in your app bundle. Still trying to find if I can manually submit a request for additional language through PlayCore Library within my app...
AFAIK you can do it by using the bundle block to control which types of configuration APKs you want your app bundle to support.
Based on the documentation:
With the Play Core library version 1.4.0, you can request the Play Store to install resources for a new language configuration on demand and immediately start using it.
For more informations: https://developer.android.com/guide/app-bundle/playcore#lang_resources