Pushy Me Notification Service With Phonegap 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.
Implement cross platform (Cordova/Phonegap)
1) Setup Account:
On Pushyme (https://pushy.me/) create your account and getAPI Secret Key server 
Like: App Name, Package Name
        
          
2) Download the Pushy SDK file:
            
Copy the pushy-x. . . 
  
3) Add Pushy Permissions to AndroidManifest.xml:
5) Add Pushy internal BroadcastReceiver to AndroidManifest.xml
6) Add Pushy Boot Receiver to AndroidManifest.xml
7) Add Pushy Socket Service to AndroidManifest.xml
8) Add Pushy Pushylisten onCreate 
cordova java 
Link : 
10) Create and add push receiver class:
refrence  : 
12) Createpushme . js 
        
13) CallgetTokenID 
     window . pushyMeTokenID ( ( tokenID ) 
                    document . getElementById ( tokenid . 
},function fail ( ) 
                     document . getElementById ( . innerHTML  : 
});
  
14) Send Push Notificationusing api  : 
https://pushy.me/docs/api/push add your token id and get notification on your device.
      
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.
Implement cross platform (Cordova/Phonegap)
1) Setup Account:
On Pushyme (https://pushy.me/) create your account and get
Like: App Name, Package Name
2) Download the Pushy SDK file:
Copy the pushy-x
3) Add Pushy Permissions to AndroidManifest.xml:
4) Add Pushy Receivers to AndroidManifest.xml like bellow:<- uses android permission name="android : permission . INTERNET" /> . 
<- uses android permission name="android : permission . WAKE_LOCK" /> . 
<- uses android permission name="android : permission . ACCESS_NETWORK_STATE" /> . 
<- uses android permission name="android : permission . RECEIVE_BOOT_COMPLETED" /> . 
<-- Pushy Notification Receiver ! > -- 
<-- Do not modify (except for package name of PushReceiver ! ) > -- 
<receiver android name=" : com . lokesh CDVpushyMe . plugin . PushReceiver" > . 
<-filter> intent 
<android action name="pushy : me" /> . 
</-filter> intent 
</> receiver 
5) Add Pushy internal BroadcastReceiver to AndroidManifest.xml
<-- Pushy Update Receiver ! > -- 
<-- Do not modify (except for package name of path=" ! com . ") testpushyme > -- 
<receiver android name="me : pushy . . sdk receivers . PushyUpdateReceiver"> . 
<-filter> intent 
<android action name="android : intent . action . PACKAGE_REPLACED" /> . 
<android data path=" : com . " android testpushyme scheme="package" /> : 
</-filter> intent 
</> receiver 
6) Add Pushy Boot Receiver to AndroidManifest.xml
<-- Pushy Boot Receiver ! > -- 
<-- Do not modify - internal BroadcastReceiver that restarts the listener service ! > -- 
<receiver android name="me : pushy . . sdk receivers . PushyBootReceiver" > . 
<-filter> intent 
<android action name="android : intent . action . BOOT_COMPLETED"/> . 
</-filter> intent 
</> receiver 
7) Add Pushy Socket Service to AndroidManifest.xml
<-- Pushy Socket Service ! > -- 
<-- Do not modify - internal listener background service ! > -- 
<android service name="me : pushy . . sdk services . PushySocketService"/> . 
8) Add Pushy Pushy
9) Create and add PushyCDVPlushyMePlugin . getPushyMelistenEvent this); ( 
Link
10) Create and add push receiver class:
Link11) Add pluginPushReceiver.java : 
<name="CDVPlushyMePlugin"> feature 
<name="android-package" value=" param com . lokesh CDVpushyMe . plugin . CDVPlushyMePlugin"/> . 
</> feature 
12) Create
cordova.define("com-lokesh-pushyme-plugin", functionrequire, exports, module) { ( 
exec = var require ' ( /exec'); cordova 
var pushyMeTokenID = function(callbacksucess,callbackfail) {
exec(callbacksucess,callbackfail,"CDVPlushyMePlugin", "pushyMeTokenID", []);
};
module exports = . ; pushyMeTokenID 
});
13) Call
},
});
14) Send Push Notification
https://pushy.me/docs/api/push add your token id and get notification on your device.



