1) Notifications.events().registerNotificationOpened, Notifications.events().registerNotificationReceivedBackground
and Notifications.getInitialNotification() is not triggered if u are using with splash screen.
2) For custom icon and color on notification, add icon into all res/mipmap-*
and then use meta-data tag _
Modify the AndroidManifest Like this for resolving above points:
In the current version of the lib, the only icon name that worked for me was @drawable/notification_icon
You can find the reason for that in the code, I opened a PR to update their docs, but for now I'll leave it here to save somebody else some hours of trial and error
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
1) Notifications.events().registerNotificationOpened, Notifications.events().registerNotificationReceivedBackground
and Notifications.getInitialNotification() is not triggered if u are using with splash screen.
2) For custom icon and color on notification, add icon into all res/mipmap-*
and then use meta-data tag _
Modify the AndroidManifest Like this for resolving above points:
package="com.rnb_boilerplate">
In the current version of the lib, the only icon name that worked for me was
@drawable/notification_icon
You can find the reason for that in the code, I opened a PR to update their docs, but for now I'll leave it here to save somebody else some hours of trial and error