adeekshith / watomatic

Auto reply app to enable auto reply for messengers like WhatsApp and Facebook Messenger
https://watomatic.app
GNU General Public License v3.0
450 stars 88 forks source link

Language change not working when app downloaded from Play Store #322

Closed hegocre closed 3 years ago

hegocre commented 3 years ago

I was just checking some things of some app of mine and i realized language was not changing sometimes (I use same method as used here). So I checked this app as well and it has the same problem.

After a long time trying to fix this issue, i found this.

Basically, when the app is uploaded as aab to Google Play, only the locales selected by the user on the system are downloaded, so the app can't find any other locale and in consequence can't switch to it. Looks like the solution is downloading the resources on-demand using PlayCore API, or disable resource split at the cost of increasing the installed app size as seen here.

Not really urgent, but would be nice to fix this some time.

adeekshith commented 3 years ago

Thanks @hegocre 😃 Including Play core libraries might need us to create separate flavors as F-droid does not accept those libraries. I think disabling split by language might be fine. Guessing size increase should not be significant for our app.