{"action":"created","issue":{"url":"https://api.github.com/repos/MacKentoch/react-native-beacons-manager/issues/80","repository_url":"https://api.github.com/repos/MacKentoch/react-native-beacons-manager","labels_url":"https://api.github.com/repos/MacKentoch/react-native-beacons-manager/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/MacKentoch/react-native-beacons-manager/issues/80/comments","events_url":"https://api.github.com/repos/MacKentoch/react-native-beacons-manager/issues/80/events","html_url":"https://github.com/MacKentoch/react-native-beacons-manager/issues/80","id":306389559,"number":80,"title":"Undefined is not a function","user":{"login":"sandropoluan","id":11922251,"avatar_url":"https://avatars0.githubusercontent.com/u/11922251?v=4","gravatar_id":"","url":"https://api.github.com/users/sandropoluan","html_url":"https://github.com/sandropoluan","followers_url":"https://api.github.com/users/sandropoluan/followers","following_url":"https://api.github.com/users/sandropoluan/following{/other_user}","gists_url":"https://api.github.com/users/sandropoluan/gists{/gist_id}","starred_url":"https://api.github.com/users/sandropoluan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandropoluan/subscriptions","organizations_url":"https://api.github.com/users/sandropoluan/orgs","repos_url":"https://api.github.com/users/sandropoluan/repos","events_url":"https://api.github.com/users/sandropoluan/events{/privacy}","received_events_url":"https://api.github.com/users/sandropoluan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-19T09:37:29Z","updated_at":"2018-04-11T14:44:07Z","closed_at":null,"author_association":"NONE","body":"### Version\r\n1.0.7\r\n\r\n### Platform\r\n Android\r\n\r\n### OS version\r\n\r\nandroid 5.0...\r\n\r\nI got this error when try to run this code\r\n```\r\nvar region = { identifier:'Estimotes', uuid:'fda50693-a4e2-4fb1-xxxx-xxxxxxxx' };\r\nBeacons.detectIBeacons();\r\nBeacons.requestWhenInUseAuthorization();\r\n\r\nBeacons.startMonitoringForRegion(region);\r\nBeacons.startRangingBeaconsInRegion(region);\r\n\t\t\t\r\nBeacons.startUpdatingLocation();\r\n\r\n```\r\nThis module already linked.\r\nI have check it manually \r\n\r\nin **settings.gradle**\r\n```\r\ninclude ':react-native-beacons-manager'\r\nproject(':react-native-beacons-manager').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-beacons-manager/android')\r\n``` \r\n\r\n\r\n**app/build.gradle**\r\n`compile project(':react-native-beacons-manager')`\r\n\r\nin **MainApplication.java**\r\n`import com.mackentoch.beaconsandroid.BeaconsAndroidPackage;`\r\nand\r\n`new BeaconsAndroidPackage(),`\r\n\r\n**Everything is there**. There something I miss?\r\n\r\n\r\n![screenshot_2018-03-19-17-24-52-276_com eabsenglobalindonesia eabsenmobile](https://user-images.githubusercontent.com/11922251/37587666-f251912a-2b9a-11e8-97d5-cbce7d1fa047.png)\r\n"},"comment":{"url":"https://api.github.com/repos/MacKentoch/react-native-beacons-manager/issues/comments/380478236","html_url":"https://github.com/MacKentoch/react-native-beacons-manager/issues/80#issuecomment-380478236","issue_url":"https://api.github.com/repos/MacKentoch/react-native-beacons-manager/issues/80","id":380478236,"user":{"login":"MBach","id":1532657,"avatar_url":"https://avatars2.githubusercontent.com/u/1532657?v=4","gravatar_id":"","url":"https://api.github.com/users/MBach","html_url":"https://github.com/MBach","followers_url":"https://api.github.com/users/MBach/followers","following_url":"https://api.github.com/users/MBach/following{/other_user}","gists_url":"https://api.github.com/users/MBach/gists{/gist_id}","starred_url":"https://api.github.com/users/MBach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MBach/subscriptions","organizations_url":"https://api.github.com/users/MBach/orgs","repos_url":"https://api.github.com/users/MBach/repos","events_url":"https://api.github.com/users/MBach/events{/privacy}","received_events_url":"https://api.github.com/users/MBach/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T14:44:07Z","updated_at":"2018-04-11T14:44:07Z","author_association":"NONE","body":"Code should be identical on both platforms, and mocked by:\r\n\r\n    requestWhenInUseAuthorization: () => { console.log('not used on Android') }"}}
{"actor":{"display_login":"MBach"}}