andrehtissot / cordova-plugin-fcm-with-dependecy-updated

Google FCM Push Notifications Cordova Plugin
MIT License
208 stars 277 forks source link

FCM notification does not receives when the app is in foreground ionic 5 (ios)? need help #266

Closed Ibni-Amin closed 1 year ago

Ibni-Amin commented 3 years ago

I Installed cordova fcm plugin different version each one works fine in android but stuck in ios foreground notification in ionic 5

Expected behavior To receive notification on foreground

Ibni-Amin commented 3 years ago

while the the app is in background, notification lands perfectly

Loown commented 3 years ago

Hi, Same issue here, but with android, when I'm in foreground, I receive notification like if I was background or killed, it doesn't trigger onNotification method, idk

Ibni-Amin commented 3 years ago

A few days ago it was perfect. I don't know this plugin issue. I realise that every version should be updated of installed packages with fcm.. I switched my app into capacitor and that's really worked fine. Where I installed push-notification plugin of capacitor

Loown commented 3 years ago

Same here, ended up using firebaseX plugin, working perfectly ^^'