phonegap / phonegap-plugin-push

Register and receive push notifications
MIT License
1.94k stars 1.91k forks source link

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

Open umairrafiq1133 opened 4 years ago

umairrafiq1133 commented 4 years ago

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 commented 4 years ago

Facing the same issue foreground iOS.

duca14036 commented 4 years ago

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

umairrafiq1133 commented 4 years ago

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

umairrafiq1133 commented 4 years ago

@Sugamsm Did you solve this issue?

Sugamsm commented 4 years ago

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