-
Notifications
You must be signed in to change notification settings - Fork 30
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
Facing Java compatibility issues with Android, works fine in iOS #27
Comments
Try my fork |
@kouloughli-hemza Thanks for sharing the fork npm package for the above issue. It really helps to solve the App icon issue on both IOS and Android together with the single package. However, whenever i tried to do setAppIcon("icon3"), it creates duplicate instance of App on Android platform, it works perfectly fine on IOS though. |
there is any fix for duplicate app issue on android ..? |
Not yet, i have not tried to find solution |
https://www.npmjs.com/package/nixa-expo-dynamic-app-icon you can try the new version to fix issue of duplicate icon on android |
@kouloughli-hemza still getting issue on Android when building Android dev client, ios works fine, here is the log
`
|
@kouloughli-hemza Your library is causing build errors in Expo 52 —could you fix it? |
hi, after some Googling, I came across a package called @mozzius/expo-dynamic-app-icon (https://github.com/mozzius/expo-dynamic-app-icon), which the Bluesky app (https://github.com/bluesky-social/social-app) also uses. I tried it in my app, and it worked! As of today the latest release of @mozzius/expo-dynamic-app-icon ^1.6.0 has some issues with config plugins so I used the 1.5.0 version |
Does it fix the issue of icon duplication on android? |
i see that it doesnt fix the issue : if (isAndroid) { see the code found on bluesky to handle android duplicate icon here , they restart the app. also changing app icon on Android breaks the aliases , so if you try to use share button for example app will crash . |
sure i will try to do that. |
On my Expo App, i am trying to incorporate this package to change the App Icon on runtime from the App Binary. It works perfectly fine in IOS, however for Android it is not working as expected coz of Java Compatible issue. Can you please help us here ?
The text was updated successfully, but these errors were encountered: