{"action":"created","issue":{"url":"https://api.github.com/repos/pushandplay/cordova-plugin-apprate/issues/150","repository_url":"https://api.github.com/repos/pushandplay/cordova-plugin-apprate","labels_url":"https://api.github.com/repos/pushandplay/cordova-plugin-apprate/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/pushandplay/cordova-plugin-apprate/issues/150/comments","events_url":"https://api.github.com/repos/pushandplay/cordova-plugin-apprate/issues/150/events","html_url":"https://github.com/pushandplay/cordova-plugin-apprate/issues/150","id":195365159,"number":150,"title":"Cannot get popup to show","user":{"login":"mjtaljaard","id":3610589,"avatar_url":"https://avatars.githubusercontent.com/u/3610589?v=3","gravatar_id":"","url":"https://api.github.com/users/mjtaljaard","html_url":"https://github.com/mjtaljaard","followers_url":"https://api.github.com/users/mjtaljaard/followers","following_url":"https://api.github.com/users/mjtaljaard/following{/other_user}","gists_url":"https://api.github.com/users/mjtaljaard/gists{/gist_id}","starred_url":"https://api.github.com/users/mjtaljaard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjtaljaard/subscriptions","organizations_url":"https://api.github.com/users/mjtaljaard/orgs","repos_url":"https://api.github.com/users/mjtaljaard/repos","events_url":"https://api.github.com/users/mjtaljaard/events{/privacy}","received_events_url":"https://api.github.com/users/mjtaljaard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-13T20:52:18Z","updated_at":"2017-01-15T17:12:25Z","closed_at":null,"body":"Please help. I cannot get the popup to show. What am I doing wrong?\r\nLoaded into the config:\r\n\r\n```\r\n<!-- PhoneGap plugins -->\r\n<plugin name=\"cordova-plugin-dialogs\" spec=\"~1.3.0\" />\r\n<plugin name=\"cordova-plugin-globalization\" spec=\"~1.0.5\" />\r\n    \r\n    <!--AddedRateMyApp-->\r\n<plugin name=\"cordova-plugin-apprate\" spec=\"1.2.0\" source=\"npm\" />\r\n```\r\n\r\nand in my index file:\r\n\r\n```\r\n<script type=\"text/javascript\" charset=\"utf-8\"> \r\nfunction onLoad() {\r\n        document.addEventListener(\"deviceready\", onDeviceReady, false);\r\n    }\r\n    \r\nfunction onDeviceReady() {\r\n    AppRate.preferences.storeAppURL = {\r\n    ios: '1182752076'\r\n    };\r\n\r\n    AppRate.promptForRating();\r\n    }\r\n</script>       \r\n\r\n  </head>\r\n    \r\n<body onload=\"onLoad()\">\r\n```\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40033419-cannot-get-popup-to-show?utm_campaign=plugin&utm_content=tracker%2F1192251&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1192251&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/pushandplay/cordova-plugin-apprate/issues/comments/272708830","html_url":"https://github.com/pushandplay/cordova-plugin-apprate/issues/150#issuecomment-272708830","issue_url":"https://api.github.com/repos/pushandplay/cordova-plugin-apprate/issues/150","id":272708830,"user":{"login":"robertoibarra","id":2504262,"avatar_url":"https://avatars.githubusercontent.com/u/2504262?v=3","gravatar_id":"","url":"https://api.github.com/users/robertoibarra","html_url":"https://github.com/robertoibarra","followers_url":"https://api.github.com/users/robertoibarra/followers","following_url":"https://api.github.com/users/robertoibarra/following{/other_user}","gists_url":"https://api.github.com/users/robertoibarra/gists{/gist_id}","starred_url":"https://api.github.com/users/robertoibarra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertoibarra/subscriptions","organizations_url":"https://api.github.com/users/robertoibarra/orgs","repos_url":"https://api.github.com/users/robertoibarra/repos","events_url":"https://api.github.com/users/robertoibarra/events{/privacy}","received_events_url":"https://api.github.com/users/robertoibarra/received_events","type":"User","site_admin":false},"created_at":"2017-01-15T17:12:25Z","updated_at":"2017-01-15T17:12:25Z","body":"I'm having the same issue, new project, add the plugin from git (ver 1.3.0) directly and this code:\r\n<script type=\"text/javascript\" >alert(typeof AppRate);</script>\r\nSays AppRate is undefined\r\nI've only tested on android. please help, great plugin!"}}
{"actor":{"display_login":"robertoibarra"}}