I'm getting no success to develop push notifications on my application. I've tried everything for a week by now and getting crazy because of this.
I'm using the last version of PhoneGap and the last version of the plugins that I've tried:
Someone have a tutorial that works with Firebase so I can follow?
I came to an point that if I can't apply this function to my application, probably I'll give up of using PhoneGap.
When I use the plugin "phonegap-plugin-push" it works locally. I could send notifications on my application using the Command Prompt (using this tutorial). But I wasn't succeed when I try to send a notification by the Google Firebase console.
Please I need some help!
Thank you guys so much.
When you use the Firebase Console everything is sent via the `notification` payload while phonegap-plugin-push needs everything in data. If you read: phonegap-plugin-push/PAYLOAD.md at master · phonegap/phonegap-plugin-push · GitHub you will get some background.
If you look at phonegap-plugin-push/PAYLOAD.md at master · phonegap/phonegap-plugin-push · GitHub you'll see lots of node script examples for sending the data correctly to the app.
I would recommend you to checkout https://zetpush.com/ here you will get useful information on push notifications for web.This enables you to reach clients even when they are not on your website.