Just a simple question. How can I modify the icon used on the push notifications? Where is it stored?
@christophervalles the icon is bundled as part of the app, and it's location differs depending on whether you're interested in Android or iOS?
@chrisbianca I'm actually compiling for both.
This is something that lives outside of RNFirebase, so it's probably best to have a search round online or on stack overflow for some help.
There's a decent Android guide here that I know of: https://documentation.onesignal.com/v3.0/docs/customize-notification-icons
I am sorry, but it does not live that much outside of RNFirebase (and the link is broken), we should be able to change that as we would do in the native languages, but it does not work.
I added
<meta-data
android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/ic_status_icon" />
on /android/app/manifest.xml but still on Amsung S9 i get the default android status icon instead of the provided icon or at least the app icon.
Also, i provide the icon with the notification as explained here
We explain how to do this in the new v4.0 docs: https://rnfirebase.io/docs/v4.0.x/notifications/android#Default-icon-and-color-(Optional)
I see, quick question, v4.0 is alpha and introduced yesterday?
Yes, exactly. It's a big change, but has been well tested through development.
If all goes well, we'll roll out a final version over the next couple of weeks.
@chrisbianca should we have to set the default icon colour, when we already using a coloured icon?