I use the nativescript firebase plugin written by @eddy to push notification. It work only if the application state is activated (foreground). When the application is suspended or closed, I don’t receive any notification sent from firebase notification UI. Once the application is launched, all notifications are pushed
Any ideas ?
I feel like on iOS you have to be testing on device. Are you doing this?
Of course Jen, I’m testing on device. The notification is received when the application is in foreground state, but in background nothing. Work well with android !
Hmm. I wonder if opening an issue on Eddy’s plugin repo would be the most effective way to find out.
OK. I wanted to be sure that it’s a potential bug before.
Hi, you need to add this on your info.plist
<key>UIBackgroundModes</key> <array> <string>remote-notification</string> </array>