Skip to content
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

Android icon duplicate when changed #25

Open
kouloughli-hemza opened this issue Jun 18, 2024 · 4 comments
Open

Android icon duplicate when changed #25

kouloughli-hemza opened this issue Jun 18, 2024 · 4 comments

Comments

@kouloughli-hemza
Copy link

I noticed on Android that when we change the icon it creates new icon on home screen instead of updating the old one,
so each time we change icon it adds new one,
is this a know bug or it's an issue on my end?

@OwenMelbz
Copy link

+1 :(

@dinoe1u
Copy link

dinoe1u commented Sep 5, 2024

Facing same issue , is there any solutions available ?

@igaboo
Copy link

igaboo commented Nov 14, 2024

It appears if you change the icon and then close the app, the icon will change just fine. It seems like the icon is applied once the app loses focus. I've found that if you change the icon multiple times in one app cycle it will cause duplicates to appear.

Other apps with dynamic icons seem to restart immediately after changing the icon, which in this case would fix the issue...

@kouloughli-hemza
Copy link
Author

It appears if you change the icon and then close the app, the icon will change just fine. It seems like the icon is applied once the app loses focus. I've found that if you change the icon multiple times in one app cycle it will cause duplicates to appear.

Other apps with dynamic icons seem to restart immediately after changing the icon, which in this case would fix the issue...

https://www.npmjs.com/package/nixa-expo-dynamic-app-icon

you can try the new version to fix issue of duplicate icon on android
the idea was to schedule icon change, and i only change the icon once the app in really in background.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants