Sencha cordova push notifications let your application notify a user of new messages or events even when the user is not actively using your application

https://github.com/jamesjara/CordovaPushNotifications

dsad
Code:
 Ext.create('Ext.ux.CordovaPushNotifications',{        
gcmServer : '..../gcmGoogleServer/public/api/register',
        userName: '[email protected]',
        password: 'password',
        userId: '1',
        android: {
           senderID: "684600745042",
           icon: "phonegap",
           iconColor: "blue"
        },
        ios: {
           alert: "true",
           badge: "true",
           sound: "true"
        },
        windows: {},          
         listeners: {
             'registration': function() {
                 console.log(" registration listener");
             },
             'registered': function() {
                 console.log(" registered  with gcm server ");
             },
             'notification': function(data) {
                 console.log(" notification listener");
             },
             'error': function(error) {
                 console.log("error contact administrator" + error.message);
             }
         }
    });