Cordova-plugin-local-notifications: Conflict with cordova-plugin-fcm-with-dependecy-updated

Created on 21 Feb 2019  路  5Comments  路  Source: katzer/cordova-plugin-local-notifications

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

Your Environment

  • Plugin version: 0.9.0-beta.2
  • Platform: iOS
  • OS version: iOS 12
  • Device manufacturer / model: Apple
  • Cordova version (cordova -v):
  • Cordova platform version (cordova platform ls):
  • Plugin config
  • Ionic Version (if using Ionic) 3

Expected Behavior

In the foreground, no push is received and no FCM on event is fired

Actual Behavior

FCM event should be fired so, I can generate a local notification.

Steps to Reproduce

Install this plugin and cordova-plugin-fcm-with-dependecy-updated

Context

Implement push notification

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]

All 5 comments

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-notification

ionic 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?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luca-itro picture luca-itro  路  5Comments

GitToTheHub picture GitToTheHub  路  4Comments

ghost picture ghost  路  5Comments

ibnbd picture ibnbd  路  4Comments

AbayIbrayev picture AbayIbrayev  路  4Comments