reagle
reagle

Reputation: 11

Push notification in Cordova app for android and ios

I need to set push notification into my app. Notification must work even if app was closed. How can I do that? I found few services that provides notifications, but I didnt understand how to work with it

Upvotes: 0

Views: 262

Answers (1)

Abhijeet
Abhijeet

Reputation: 36

You can use phonegap's push plugin.

Open command prompt go to the project folder and type following command:

cordova plugin add https://github.com/phonegap/phonegap-plugin-push --variable SENDER_ID="YOUR SENDER ID"

You will get SENDER_ID in your google developer console project

Upvotes: 1

Related Questions