Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflict with cordova-plugin-fcm-with-dependecy-updated #1759

Closed
Shashank2406 opened this issue Feb 21, 2019 · 5 comments
Closed

Conflict with cordova-plugin-fcm-with-dependecy-updated #1759

Shashank2406 opened this issue Feb 21, 2019 · 5 comments

Comments

@Shashank2406
Copy link

Shashank2406 commented Feb 21, 2019

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

@jiseungjun
Copy link

jiseungjun commented Mar 3, 2019

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 cordova-plugin-local-notification@0.9.0-beta.3

@fsalazarsch
Copy link

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 cordova-plugin-local-notification@0.9.0-beta.3

you deserve a six pack of beer

@devexpert9
Copy link

Thanks a lot @jiseungjun , You saved my 2 days

@ProximaHaiz
Copy link

@jiseungjun Thanks! You are awesome!

@martinriviere
Copy link

martinriviere commented Mar 16, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants