freshworks / hotline-phonegap

Hotline Phonegap Plugin
https://hotline.io
Other
6 stars 11 forks source link

Android Notification not received if I kill the app #8

Closed swapnilagarwwal closed 7 years ago

swapnilagarwwal commented 8 years ago

I am using the library on Mi3. I am using window.Hotline.registerPushNotification(<my-project-number>) method I immediately receive notification when the app is running in background, but I don't receive any notification if the app is killed. Please help.

hrishikesh-p commented 7 years ago

we have changed how we handle push . Please refer to our docs here -> https://github.com/freshdesk/hotline-phonegap/blob/master/README.md

You will need to use "phonegap-plugin-push" instead of this method. Sorry for the inconvenience

karansharma27 commented 7 years ago

phonegap-plugin-push doesnt work as I want. So I am using cordova-plugin-firebase. So isn't there any workaround for cordova-plugin-firebase.?