{"action":"closed","issue":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/209","labels_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/209/comments","events_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/209/events","html_url":"https://github.com/phonegap/phonegap-plugin-push/issues/209","id":110193912,"number":209,"title":"Push PLugin Not Working on Android","user":{"login":"SardarKhan299","id":15012711,"avatar_url":"https://avatars.githubusercontent.com/u/15012711?v=3","gravatar_id":"","url":"https://api.github.com/users/SardarKhan299","html_url":"https://github.com/SardarKhan299","followers_url":"https://api.github.com/users/SardarKhan299/followers","following_url":"https://api.github.com/users/SardarKhan299/following{/other_user}","gists_url":"https://api.github.com/users/SardarKhan299/gists{/gist_id}","starred_url":"https://api.github.com/users/SardarKhan299/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SardarKhan299/subscriptions","organizations_url":"https://api.github.com/users/SardarKhan299/orgs","repos_url":"https://api.github.com/users/SardarKhan299/repos","events_url":"https://api.github.com/users/SardarKhan299/events{/privacy}","received_events_url":"https://api.github.com/users/SardarKhan299/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-10-07T10:20:13Z","updated_at":"2015-11-23T18:12:23Z","closed_at":"2015-11-23T18:12:23Z","body":" i am going to work on this project  i am using  phonegap 5.0 with cli and i am developing app for android in eclipse and android version is 5.1 and API leve is 22.Now the error is\r\n\r\n\r\n10-07 13:01:14.282: E/Web Console(9564): Uncaught TypeError: Object function (options) {\r\n10-07 13:01:14.282: E/Web Console(9564):     this._handlers = {\r\n10-07 13:01:14.282: E/Web Console(9564):         'registration': [],\r\n10-07 13:01:14.282: E/Web Console(9564):         'notification': [],\r\n10-07 13:01:14.282: E/Web Console(9564):         'error': []\r\n10-07 13:01:14.282: E/Web Console(9564):     };\r\n10-07 13:01:14.282: E/Web Console(9564):     // require options parameter\r\n10-07 13:01:14.282: E/Web Console(9564):     if (typeof options === 'undefined') {\r\n10-07 13:01:14.282: E/Web Console(9564):         throw new Error('The options argument is required.');\r\n10-07 13:01:14.282: E/Web Console(9564):     }\r\n10-07 13:01:14.282: E/Web Console(9564):     // store the options to this object instance\r\n10-07 13:01:14.282: E/Web Console(9564):     this.options = options;\r\n10-07 13:01:14.282: E/Web Console(9564):     // triggered on registration and notification\r\n10-07 13:01:14.282: E/Web Console(9564):     var that = this;\r\n10-07 13:01:14.282: E/Web Console(9564):     var success = function(result) {\r\n10-07 13:01:14.282: E/Web Console(9564):         if (result && typeof result.registrationId !== 'undefined') {\r\n10-07 13:01:14.282: E/Web Console(9564):             that.emit('registration', result);\r\n10-07 13:01:14.282: E/Web Console(9564):         } else if (result && typeof result.callback !== 'undefined') {\r\n10-07 13:01:14.282: E/Web Console(9564):             var executeFunctionByName = function(functionName, context /*, args */) {\r\n10-07 13:01:14.282: E/Web Console(9564):                 var args = Array.prototype.slice.call(arguments, 2);\r\n10-07 13:01:14.282: E/Web Console(9564):                 var namespaces = functionName.split(\".\");\r\n10-07 13:01:14.282: E/Web Console(9564):                 var func = namespaces.pop();\r\n10-07 13:01:14.282: E/Web Console(9564):                 for (var i = 0; i < namespaces.length; i++) {\r\n10-07 13:01:14.282: E/Web Console(9564):                     context = context[namespaces[i]];\r\n10-07 13:01:14.282: E/Web Console(9564):                 }\r\n10-07 13:01:14.282: E/Web Console(9564):                 return context[func].apply(context, args);\r\n10-07 13:01:14.282: E/Web Console(9564):             }\r\n10-07 13:01:14.282: E/Web Console(9564):            \r\n10-07 13:01:14.282: E/Web Console(9564):             executeFunctionByName(result.callback, window, result);\r\n10-07 13:01:14.282: E/Web Console(9564):         } else if (result) {\r\n10-07 13:01:14.282: E/Web Console(9564):             that.emit('notification', result);\r\n10-07 13:01:14.282: E/Web Console(9564):         }\r\n10-07 13:01:14.282: E/Web Console(9564):     };\r\n10-07 13:01:14.282: E/Web Console(9564):     // triggered on error\r\n10-07 13:01:14.282: E/Web Console(9564):     var fail = function(msg) {\r\n10-07 13:01:14.282: E/Web Console(9564):         var e = (typeof msg === 'string') ? new Error(msg) : msg;\r\n10-07 13:01:14.282: E/Web Console(9564):         that.emit('error', e);\r\n10-07 13:01:14.282: E/Web Console(9564):     };\r\n10-07 13:01:14.282: E/Web Console(9564):     // wait at least one process tick to allow event subscriptions\r\n10-07 13:01:14.282: E/Web Console(9564):     setTimeout(function() {\r\n10-07 13:01:14.282: E/Web Console(9564):         exec(success, fail, 'PushNotification', 'init', [options]);\r\n10-07 13:01:14.282: E/Web Console(9564):     }, 10);\r\n10-07 13:01:14.282: E/Web Console(9564): } has no method 'init' at file:///android_asset/www/js/Module.js:8\r\n10-07 13:01:14.392: D/TilesManager(9564): Starting TG #0, 0x5f73f420\r\n10-07 13:01:14.392: D/TilesManager(9564): new EGLContext from framework: 5e306a90\r\n10-07 13:01:14.392: D/GLWebViewState(9564): Reinit shader\r\n10-07 13:01:14.442: D/netstack(9564): netstack: Request Priority is ON\r\n10-07 13:01:14.462: D/chromium(9564): Unknown chromium error: -6\r\n10-07 13:01:14.532: D/GLWebViewState(9564): Reinit transferQueue\r\n10-07 13:01:14.542: E/Web Console(9564): Uncaught Error: Module phonegap-plugin-push.PushNotification does not exist. at file:///android_asset/www/cordova.js:1418\r\n10-07 13:01:18.742: I/Web Console(9564): deviceready has not fired after 5 seconds. at file:///android_asset/www/cordova.js:1183\r\n10-07 13:01:18.742: I/Web Console(9564): Channel not fired: onPluginsReady at file:///android_asset/www/cordova.js:1176\r\n10-07 13:01:18.742: I/Web Console(9564): Channel not fired: onCordovaReady at file:///android_asset/www/cordova.js:1176\r\ncan any one please help me to solve this problem"}}