{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ionic-platform-issues/issues/37","repository_url":"https://api.github.com/repos/driftyco/ionic-platform-issues","labels_url":"https://api.github.com/repos/driftyco/ionic-platform-issues/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ionic-platform-issues/issues/37/comments","events_url":"https://api.github.com/repos/driftyco/ionic-platform-issues/issues/37/events","html_url":"https://github.com/driftyco/ionic-platform-issues/issues/37","id":136277513,"number":37,"title":"Cannot add phonegap-plugin-push when push_dev is false","user":{"login":"metalaureate","id":2185884,"avatar_url":"https://avatars.githubusercontent.com/u/2185884?v=3","gravatar_id":"","url":"https://api.github.com/users/metalaureate","html_url":"https://github.com/metalaureate","followers_url":"https://api.github.com/users/metalaureate/followers","following_url":"https://api.github.com/users/metalaureate/following{/other_user}","gists_url":"https://api.github.com/users/metalaureate/gists{/gist_id}","starred_url":"https://api.github.com/users/metalaureate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metalaureate/subscriptions","organizations_url":"https://api.github.com/users/metalaureate/orgs","repos_url":"https://api.github.com/users/metalaureate/repos","events_url":"https://api.github.com/users/metalaureate/events{/privacy}","received_events_url":"https://api.github.com/users/metalaureate/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-02-25T04:31:16Z","updated_at":"2016-02-25T23:32:25Z","closed_at":"2016-02-25T22:45:13Z","body":"This problem arose when I set push_dev to FALSE so that I could actually send real pushes through the ionic.io platform (when set to True, no real device tokens are created but push tests fine so I am confident the platform is configured okay). I have tried every way I know how to respond to this error message by installing the cordova npm module, but I still cannot get it to recognize that the plugin is installed.\r\n\r\n> 0     080044   log      Ionic Core:, init\r\n> 1     080045   log      Ionic Core:, searching for cordova.js\r\n> 2     080046   log      Ionic Core:, injecting cordova.js\r\n> 3     080165   log      Ionic Core:, plugins are ready\r\n> 4     080174 **  error    Ionic Push:, PushNotification plugin is required. Have you run `ionic plugin add phonegap-plugin-push` ?**\r\n> 5     080175   log      Ionic Push:, register\r\n> 6     080176   **error    ReferenceError: Can't find variable: PushNotification, http://192.168.1.105:8100/lib/ionic-platform-web-client/dist/ionic.io.bundle.min.js, Line: 3**\r\n\r\n\r\nI have the same problem as this SO question but the solution did not work for me:\r\n\r\nhttp://stackoverflow.com/questions/32896700/ionic-plugin-add-phonegap-plugin-push-results-in-a-404-not-found-error\r\n\r\nAny help would be really appreciated. We are dead in the water.\r\n\r\nAm I installing the npm module in the wrong place? \r\n"},"comment":{"url":"https://api.github.com/repos/driftyco/ionic-platform-issues/issues/comments/189034390","html_url":"https://github.com/driftyco/ionic-platform-issues/issues/37#issuecomment-189034390","issue_url":"https://api.github.com/repos/driftyco/ionic-platform-issues/issues/37","id":189034390,"user":{"login":"metalaureate","id":2185884,"avatar_url":"https://avatars.githubusercontent.com/u/2185884?v=3","gravatar_id":"","url":"https://api.github.com/users/metalaureate","html_url":"https://github.com/metalaureate","followers_url":"https://api.github.com/users/metalaureate/followers","following_url":"https://api.github.com/users/metalaureate/following{/other_user}","gists_url":"https://api.github.com/users/metalaureate/gists{/gist_id}","starred_url":"https://api.github.com/users/metalaureate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metalaureate/subscriptions","organizations_url":"https://api.github.com/users/metalaureate/orgs","repos_url":"https://api.github.com/users/metalaureate/repos","events_url":"https://api.github.com/users/metalaureate/events{/privacy}","received_events_url":"https://api.github.com/users/metalaureate/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T23:32:25Z","updated_at":"2016-02-25T23:32:25Z","body":"I'm on the latest version according npm - 1.7.14\r\n\r\nCompare this:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2185884/13338233/f6c2b6de-dbd4-11e5-838e-223e668243bd.png)\r\n"}}