WARNING: IF YOU IGNORE THIS TEMPLATE, WE'LL IGNORE YOUR ISSUE. YOU MUST FILL THIS IN!
cordova-plugin-local-notifications conflicts with cordova-plugin-fcm-with-dependecy-updated if i remove local notification FCM plugin seems to work fine. Can anyone come up with the solution so that both plugins can work together
cordova -v
):cordova platform ls
):In the foreground, no push is received and no FCM on event is fired
FCM event should be fired so, I can generate a local notification.
Install this plugin and cordova-plugin-fcm-with-dependecy-updated
Implement push notification
ionic cordova plugin rm cordova-plugin-fcm-with-dependecy-updated
ionic cordova plugin rm cordova-plugin-local-notification
ionic cordova plugin add cordova-plugin-fcm-with-dependency-updated-apns
ionic cordova plugin add [email protected]
ionic cordova plugin rm cordova-plugin-fcm-with-dependecy-updated
ionic cordova plugin rm cordova-plugin-local-notificationionic cordova plugin add cordova-plugin-fcm-with-dependency-updated-apns
ionic cordova plugin add [email protected]
you deserve a six pack of beer
Thanks a lot @jiseungjun , You saved my 2 days
@jiseungjun Thanks! You are awesome!
Hi @jiseungjun, thanks for your solution!
I have implemented it, but still have an issue: since then and only on iOS, when I click on the local notification, it triggers the FCM plugin onNotification method resulting in a bad behavior...
Any idea why and how to fix this?
Most helpful comment
ionic cordova plugin rm cordova-plugin-fcm-with-dependecy-updated
ionic cordova plugin rm cordova-plugin-local-notification
ionic cordova plugin add cordova-plugin-fcm-with-dependency-updated-apns
ionic cordova plugin add [email protected]