cordova-plugin-local-notifications: No notification or error at all

Unable to get the plugin working. Never have been this difficult to get it on track. Am i missing something.

Your Environment

  • Plugin version: v0.8.5

  • Platform: Phonegap Build APK Phonegap Developer App(Both iOS & Android)

  • OS version: Android & iOS

  • Device manufacturer / model: iPhone 6s & Multiple Androids

  • Cordova version (cordova -v): 7.1.0

  • Cordova platform version (cordova platform ls): android 6.3.0 ios 4.1.1 browser ~5.0.0

  • Plugin config tried both ->cordova plugin add cordova-plugin-local-notifications ->phonegap plugin add cordova-plugin-local-notifications

Expected Behavior

Notification should popup either in foreground or background.

Actual Behavior

Nothing works at all. No console . No error.

Steps to Reproduce

Tried more than 7/8 times but nothing works

  1. Tried multiple times adding plugin.
  2. Also tried already working(for others) mutiple github repositories.
  3. Tried kitchen sink app For eg: https://github.com/joe-mutti/How-to-Use-Local-Push-Notification-In-Phonegap/

Context

What were you trying to do? Trying to get Local notification working. Both immediately and scheduling but nothing works

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 33 (13 by maintainers)

Most upvoted comments

It looks to be an issue with @ionic-native/local-notifications I ran into the same issue and solved it using the workaround here: https://github.com/ionic-team/ionic-native/issues/2113#issuecomment-354304949

cordova plugin add cordova-plugin-local-notifications

cordova plugin add https://github.com/katzer/cordova-plugin-local-notifications

Please don’t install via plugin id - the README is ahead of time.

@katzer my issue at thread #1421 still exists. It should not have been closed over the weekend. As I mentioned in my thread, complete newbie and just tried seeing the app in action. Just got the recommened example-x installed to see that it too does not work on the device. Hopefully thread #1421 will be reopened.