icon image for both ios (not transparent) and android (transparent)
Closed this issue · 3 comments
Having some issues using a single source icon that works smoothly for both iOS and Android.
- To ensure that app icons in Android shows up nicely as notification icons, its background should be transparent.
- For iOS, transparent icon background is not recommended to avoid black background.
Right now, it seems we can only have one or the other...and need to use separate icons based on platform. Any solution or thoughts on this?
Thanks for pointing this out.
For the time being it seems like you'd have to hack around it.
Run it once with a non-transparent background.
Copy the the resources directory.
Then run it with a transparent background.
Copy the files in the resources directory (inside splashes
and icons
) that start with android
the corresponding target directory in your app.
@lpender Sure. I just tried out icons generated by #7 on my app - works!
Other comments/observations that should not prevent #7 from being merged.:
- Would be good if the bundled
icon-android.png
has transparent background so that when used as notification icon, it does not looks like a "white square". - The bundled
splash-android.png
is too "wide" for Android portrait layout (on my One Plus One). - For my use case, I did not use separate splash images for Android & iOS. Is it really needed?
Thanks for this convenient tool.