Open tvhimanshu opened 5 years ago
That is strange indeed! On iOS or Android? Do you have other packages or self defined notification listeners in your app that can explain what you see?
Thanks for quick response, this is happening in iOS and there is no other listener.
I've tested it in my app on iOS in foreground, i see no alert but I've also used react native push notifications package in that app and catch notifications when app is in foreground and then display a short android-like toast message...
Do you have a
(void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification
function in your AppDelegate.m? Normally when you have no listeners nothing happens on iOS.
Great work!!
Just got a strange behaviour, when App in Foreground, it is showing an Alert with
Close
text