I am using react-native-pushnotification. here is the module link https://github.com/zo0r/react-native-push-notification in ios notifications working fine when in background and foreground also, but in android foreground it is working fine, But in background i got the notification, when click on that notification app getting relaunch and not showing any alert in android,
Can any one give me some suggestion that how to resolve it, Any help much appreciated.
Settings > Sounds & Vibration > Do Not Disturb: if this setting is enabled, Push Notifications will not be received. Make sure this is disabled. Settings > General > Background App Refresh: this setting allows the app to run in the background and must be turned on.
To show alert in android : in your android device -> settings -> App Notification -> select your app name and turn on all the show notifications. this will show alert. Hope this works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With