-
Notifications
You must be signed in to change notification settings - Fork 198
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
[question]: Custom push notification icon in Ionic Capacitor #956
Comments
It seems to work - kindof. I get a large icon to the left of the message as expected. To the right of the message I get something a bit odd looking :D |
OK this is now working as expected. I created a monochrome I then put a full colour 256x256 png into I then specified an Seemed to work just fine with no other config. |
Yup worked for me as well 🙌 |
How can we help?
I'm currently encountering an issue while attempting to add the
ic_stat_onesignal_default
icon in a Capacitor project for Android. The documentation provides information on manually creating icons but does not specifically cover the Capacitor case.I initially attempted to include the default icon inside
capacitor-cordova-android-plugins
, but after runningnpm run build && npm run sync
, the updates I made were not reflected.Now, I'm seeking guidance on the appropriate location to add the default icon for Capacitor. I've considered placing it either in
app->src->main->AndroidManifest.xml
orapp->src->main->xml->config.xml
. However, I'm unsure of the correct approach.Has anyone encountered a similar situation with Capacitor and successfully resolved it? Some guidance would be appreciated.
Folder structure:
Code of Conduct
The text was updated successfully, but these errors were encountered: