Does anyone know what is the current working version of the local-notification plugin that we should be using?
When I run the recommended installation procedure of:
$ ionic cordova plugin add cordova-plugin-local-notification
$ npm install --save @ionic-native/local-notifications
This resolves to:
cordova-plugin-local-notification - ~0.9.0-beta.2
@ionic-native/local-notifications - 4.12.0
With this configuration my program builds and runs. When my code creates a new local-notification I get prompted by the phone to allow access. After that it seems to fail silently and no notification pops up at the appropriate time. This was working for me before and is not now.
When you go to the github repository (at https://github.com/katzer/cordova-plugin-local-notifications) for the cordova plugin, the README states the following under known issues:
- Not compatible yet with Ionic Native . Their wrapper is not part of this plugin. In future I will contribute to them to fix such issues in time. But for the moment I am busy enough with the plugin itself.
I attempted to downgrade to my prior working versions:
@ionic-native/local-notifications: "-3.14.0
de.appplant.cordova.plugin.local-notification ~0.8.5
However when I do that my application freezes at the splash screen
Anyone know what is the proper configuration to use right now?
Perhaps I need to update my version of Cordova? Here is my Ionic Info:
Ionic:
ionic (Ionic CLI) : 4.1.1 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.1.11
Cordova:
cordova (Cordova CLI) : 6.5.0
Cordova Platforms : android 6.3.0, browser 4.1.0, ios 4.3.1
Cordova Plugins : cordova-plugin-ionic-webview 1.2.1, (and 14 other plugins)
System:
Android SDK Tools : 26.1.1 (/Users/harley/Library/Android/sdk)
ios-deploy : 1.9.1
ios-sim : 6.1.2
NodeJS : v6.9.5 (/usr/local/bin/node)
npm : 6.4.0
OS : macOS High Sierra
Xcode : Xcode 9.4.1 Build version 9F2000