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

iOS - cordova-plugin-local-notifications compatibility #95

Closed
fgarcia5 opened this issue Aug 16, 2019 · 5 comments
Closed

iOS - cordova-plugin-local-notifications compatibility #95

fgarcia5 opened this issue Aug 16, 2019 · 5 comments

Comments

@fgarcia5
Copy link

Bug report

Current behavior:
This plugin works correctly. I have the problem when adding cordova-plugin-local-notifications (https://github.com/katzer/cordova-plugin-local-notifications), after adding it the "onMessageReceived" event does not fire.
If the application is in the background, the notification is received but when touching it "onNotification" does not fire. When the App is in foreground, it seems that the push do not arrive because the event in question is not triggered.

Expected behavior:
Necesito que convivan ambos plugins debido que debo enviar notificaciones locales y desde el servidor. Con cordova-plugin-firebase ambos funcionaban perfectamente.

Environment information

  • Cordova CLI version
  • Cordova platform version
    • cordova platform ls ios 5.0.1
  • Plugins & versions installed in project (including this plugin)
    • cordova plugin ls
      cordova-plugin-firebasex 6.0.7 "Google Firebase Plugin"
      cordova-plugin-local-notification 0.9.0-beta.2 "LocalNotification"

iOS build issue:

  • Node JS version
    • node -v10.10.0
    • npm -v6.10.3
  • XCode version 10.3

Other information:
I will publish the compatibility issue with the other plugin, but I turn here first because it seems more updated and because with cordova-plugin-firebase I did not have this problem.

Anyone used both plugins and managed to make them work?

Thanks in advance, regards.

@fgarcia5
Copy link
Author

fgarcia5 commented Aug 17, 2019

I implemented this fork: https://github.com/Steffaan/cordova-plugin-local-notifications
The local notifications and push firebase worked correctly.

@golyo
Copy link

golyo commented Sep 22, 2020

This fork not working with cordova-plugin-firebasex 10.0.0 and upper

@mauliklogicalwings
Copy link

Hello
@fgarcia5 @dpa99c
We are using https://github.com/Steffaan/cordova-plugin-local-notifications(0.9.3) and cordova-plugin-firebasex(13.0.0-cli) plugins in our cordova project. when iOS app in foreground and sent local notification, it throw error message

FirebasePlugin[native]: willPresentNotification: foreground notification not set

can you please help us to solve this?
Thanks

@Maho38
Copy link

Maho38 commented Jan 30, 2024

Hello,

are there any updates for the problem? I also want to use both - local notifications and the firbeasex plugin.
Can anybody help me?

Thank you!

@marcostomazini
Copy link

Hello,

are there any updates for the problem? I also want to use both - local notifications and the firbeasex plugin. Can anybody help me?

Thank you!

resolved in
#573

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

4 participants