Reputation: 748
I am new to ionic framework, I am working on push notification in my android ionic project using phone gap push plugin referring the following documentation phonegap push plugin link
But I am unable to find how it gets worked. I need to send notifications to all the devices who already install as a gesture of revisit of my app. Can any one give clear description step by step to solve this ?
Upvotes: 0
Views: 100
Reputation: 650
Install plugin from http://ngcordova.com/docs/plugins/pushNotifications/
create one project on google Api console (https://console.developers.google.com/
).
There is method of Registration where you will get $cordovaPush.register(androidConfig).then(function(result) {console.log(result);
you will get device token. Register that device token and save that token on created project from Google API.
Upvotes: 1