Pushy Me Notification Service With Cordova/PhoneGap For Android.

                        Pushy (https://pushy.me/) provides reliable Push Notifications.


About Pushy: 

You need an alternative to GCM, Pushy me best way to implement notification service.
Pushy is a push notification gateway, completely independent of GCM. It maintains own background socket connection, Like:  GCM, to receive push notifications.
Light-weight protocol, utilizing very low network bandwidth and battery. It will be perfect for developed case since it does not depend on Google Play Services.


Github URL


Master Branch : 


cordova plugin add https://github.com/LokeshPatel/Cordova-Plugin-CDVPushyMe.git
Local Folder : 


cordova plugin add Cordova-Plugin-CDVPushyMe --searchpath path

1) Install pushy me service : Call with on device ready function : 


document.addEventListener("deviceready", function(){
     navigator.CDVPushyMe.pushyMeInstall(function(){
       console.log("success");
      },function(error){
       console.log("fail");
    });
 }, false);
2) Get pushy me service token id : 


 navigator.CDVPushyMe.pushyMeID(function(tokenID){
        // retrun token id for notification service
        console.log("Token ID = " + tokenID);
        //Token ID use for call notification form pusyme server.
     }, function(error){
        console.log("fail");
     });

Popular posts from this blog

Cordova Plugin Firebase Cloud Messaging For Android

iOS Phonegap app share extension (images) with ionic

Print Hand Plugin With Cordova/PhoneGap For Android.