120
Feature request: IOS dynamic app icons
planned
Ladislav Soukup
Can you please consider adding support for “dynamic app icons” to expo?
Since iOS 11.3, app can specify more app icons and can switch between them using code.
It is quite easy, but requires bundling the icons in .xcasset file and entry in .plist file.
Info how to do it is here:
And of course in swift / objective-c API docs from Apple.
Activity
Newest
Oldest
Evan Bacon
planned
We plan to add this as an Expo config plugin. Here is a proof of concept.
Maxwell Morrow
Evan Bacon: Thanks so much for putting this together. I'm on a project where this feature is extremely important. I gave it a try, and while my build succeeded, it didn't seem to function as expected.
Do you happen to have an example project with this plugin working?
Evan Bacon
Maxwell Morrow: Ya the repo has an example app in it. Feel free to open an issue with your findings on that repo.
Maxwell Morrow
Evan Bacon: You're the man, thanks so much. I'll give it a try now.
Maxwell Morrow
Evan Bacon: Can this plugin be used with an Expo app using the Managed Workflow?
Sergey King
Evan Bacon: love this
Michael Wood
Maxwell Morrow: Yes, as long as you use EAS Build or
expo run:ios
(see also https://docs.expo.dev/build-reference/local-builds/)Evan Bacon
Scott Pritchard
The app icon is bundled into the native assets, and set in such a way that it wouldn't be changeable from JS without an update to the app.
Noé Lebrun
There's also a react native library for it as an example: https://github.com/kamsteegsoftware/react-native-alternate-icons