{"action":"created","issue":{"url":"https://api.github.com/repos/driftyco/ng-cordova/issues/960","labels_url":"https://api.github.com/repos/driftyco/ng-cordova/issues/960/labels{/name}","comments_url":"https://api.github.com/repos/driftyco/ng-cordova/issues/960/comments","events_url":"https://api.github.com/repos/driftyco/ng-cordova/issues/960/events","html_url":"https://github.com/driftyco/ng-cordova/issues/960","id":103702324,"number":960,"title":"Error: undefined is not an object in $window.plugins [HELP]","user":{"login":"Joeeeeh7","id":13780179,"avatar_url":"https://avatars.githubusercontent.com/u/13780179?v=3","gravatar_id":"","url":"https://api.github.com/users/Joeeeeh7","html_url":"https://github.com/Joeeeeh7","followers_url":"https://api.github.com/users/Joeeeeh7/followers","following_url":"https://api.github.com/users/Joeeeeh7/following{/other_user}","gists_url":"https://api.github.com/users/Joeeeeh7/gists{/gist_id}","starred_url":"https://api.github.com/users/Joeeeeh7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joeeeeh7/subscriptions","organizations_url":"https://api.github.com/users/Joeeeeh7/orgs","repos_url":"https://api.github.com/users/Joeeeeh7/repos","events_url":"https://api.github.com/users/Joeeeeh7/events{/privacy}","received_events_url":"https://api.github.com/users/Joeeeeh7/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/driftyco/ng-cordova/labels/ionitron:closed","name":"ionitron:closed","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-28T11:32:27Z","updated_at":"2015-12-30T19:14:09Z","closed_at":"2015-12-30T19:14:09Z","body":"Hello guys,\r\n\r\nAll plugin's wich make use of $window.plugins doesn't seem to work. \r\n\r\nError: \r\n\r\n[phonegap] [console.error] Error: undefined is not an object (evaluating '$window.plugins.flashlight.switchOn')\r\n[phonegap] switchOn@http://192.168.100.110:3000/lib/ngCordova/dist/ng-cordova.js:2845:35\r\n[phonegap] on@http://192.168.100.110:3000/app/flashlight/flashlight.ctrl.js:5:34\r\n[phonegap] $parseFunctionCall@http://192.168.100.110:3000/lib/ionic/js/ionic.bundle.js:20124:23\r\n[phonegap] http://192.168.100.110:3000/lib/ionic/js/ionic.bundle.js:50863:21\r\n[phonegap] $eval@http://192.168.100.110:3000/lib/ionic/js/ionic.bundle.js:22178:28\r\n[phonegap] $apply@http://192.168.100.110:3000/lib/ionic/js/ionic.bundle.js:22276:28\r\n[phonegap] http://192.168.100.110:3000/lib/ionic/js/ionic.bundle.js:50862:19\r\n[phonegap] eventHandler@http://192.168.100.110:3000/lib/ionic/js/ionic.bundle.js:10823:25\r\n[phonegap] dispatchEvent@[native code]\r\n[phonegap] triggerMouseEvent@http://192.168.100.110:3000/lib/ionic/js/ionic.bundle.js:2811:20\r\n[phonegap] tapClick@http://192.168.100.110:3000/lib/ionic/js/ionic.bundle.js:2800:20\r\n[phonegap] tapTouchEnd@http://192.168.100.110:3000/lib/ionic/js/ionic.bundle.js:2918:13\r\n\r\nAnybody knows what's wrong? Please help me!"},"comment":{"url":"https://api.github.com/repos/driftyco/ng-cordova/issues/comments/168058300","html_url":"https://github.com/driftyco/ng-cordova/issues/960#issuecomment-168058300","issue_url":"https://api.github.com/repos/driftyco/ng-cordova/issues/960","id":168058300,"user":{"login":"Ionitron","id":6591344,"avatar_url":"https://avatars.githubusercontent.com/u/6591344?v=3","gravatar_id":"","url":"https://api.github.com/users/Ionitron","html_url":"https://github.com/Ionitron","followers_url":"https://api.github.com/users/Ionitron/followers","following_url":"https://api.github.com/users/Ionitron/following{/other_user}","gists_url":"https://api.github.com/users/Ionitron/gists{/gist_id}","starred_url":"https://api.github.com/users/Ionitron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ionitron/subscriptions","organizations_url":"https://api.github.com/users/Ionitron/orgs","repos_url":"https://api.github.com/users/Ionitron/repos","events_url":"https://api.github.com/users/Ionitron/events{/privacy}","received_events_url":"https://api.github.com/users/Ionitron/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T19:14:09Z","updated_at":"2015-12-30T19:14:09Z","body":"Greetings @Joeeeeh7!\n\nI've closed this issue because my sensors indicated it was old and inactive, and may have already been fixed in recent versions of Ionic. However, if you are still experiencing this issue, please feel free to reopen this issue by creating a new one, and include any examples and other necessary information, so that we can look into it further.\n\nThank you for allowing me to assist you."}}