Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

On notification event not firing when cordova local notification plugin is installed. #2922

Open
umairrafiq1133 opened this issue Jun 5, 2020 · 5 comments

Comments

@umairrafiq1133
Copy link

I am working on ionic1 app and I want to show push notifications in foregroud on IOS. For that I earlier used cordova local notification plugin and inside on notification I was setting a notification to fire immediately. And On click I could move user to desired place. It was working when my installation was old and now I have upgraded to latest CLI for ionic and cordova.

Plugin version
Phonegap-plugin-push version is 2.3.0
cordova-plugin-local-notification version is 0.9.0-beta-3

My purpose is just to show push notification in foreground in IOS. If there's any other way to make this work, I will really appreciate that.

Cordova CLI version and cordova platform version
cordova --version # e.g. 9.0.0
cordova platform version ios # e.g. 5.1.0

@Sugamsm
Copy link

Sugamsm commented Jun 16, 2020

Facing the same issue foreground iOS.

@duca14036
Copy link

try this repository https://github.com/zetekyinc/phonegap-plugin-push

@umairrafiq1133
Copy link
Author

@duca14036 I have tried this but now Local notifications plugin is not working.

@umairrafiq1133
Copy link
Author

@Sugamsm Did you solve this issue?

@Sugamsm
Copy link

Sugamsm commented Jun 22, 2020

@umairrafiq1133 I was able to solve using a forked plugin https://github.com/Steffaan/cordova-plugin-local-notifications#installation
This worked!

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

No branches or pull requests

3 participants