{"action":"created","issue":{"url":"https://api.github.com/repos/teamrota/react-native-gmaps/issues/1","labels_url":"https://api.github.com/repos/teamrota/react-native-gmaps/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/teamrota/react-native-gmaps/issues/1/comments","events_url":"https://api.github.com/repos/teamrota/react-native-gmaps/issues/1/events","html_url":"https://github.com/teamrota/react-native-gmaps/issues/1","id":114232918,"number":1,"title":"No map found","user":{"login":"PhilippKrone","id":11861008,"avatar_url":"https://avatars.githubusercontent.com/u/11861008?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilippKrone","html_url":"https://github.com/PhilippKrone","followers_url":"https://api.github.com/users/PhilippKrone/followers","following_url":"https://api.github.com/users/PhilippKrone/following{/other_user}","gists_url":"https://api.github.com/users/PhilippKrone/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilippKrone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilippKrone/subscriptions","organizations_url":"https://api.github.com/users/PhilippKrone/orgs","repos_url":"https://api.github.com/users/PhilippKrone/repos","events_url":"https://api.github.com/users/PhilippKrone/events{/privacy}","received_events_url":"https://api.github.com/users/PhilippKrone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-30T09:34:15Z","updated_at":"2015-10-30T09:53:57Z","closed_at":null,"body":"Hello,\r\n\r\n\r\nI get a redbox basically telling me that \r\n\r\n````javascript\r\n      map.getUiSettings().setMyLocationButtonEnabled(false);\r\n````\r\n\r\ncrashed the app as \"map\" is null. I wonder whether there has to be some kind of check in here whether map is actually not null? This might be the case for several reasons: http://stackoverflow.com/questions/22471766/android-mapview-getmap-returns-null\r\n\r\n\r\nRegards\r\nPhilipp\r\n"},"comment":{"url":"https://api.github.com/repos/teamrota/react-native-gmaps/issues/comments/152476532","html_url":"https://github.com/teamrota/react-native-gmaps/issues/1#issuecomment-152476532","issue_url":"https://api.github.com/repos/teamrota/react-native-gmaps/issues/1","id":152476532,"user":{"login":"PhilippKrone","id":11861008,"avatar_url":"https://avatars.githubusercontent.com/u/11861008?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilippKrone","html_url":"https://github.com/PhilippKrone","followers_url":"https://api.github.com/users/PhilippKrone/followers","following_url":"https://api.github.com/users/PhilippKrone/following{/other_user}","gists_url":"https://api.github.com/users/PhilippKrone/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilippKrone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilippKrone/subscriptions","organizations_url":"https://api.github.com/users/PhilippKrone/orgs","repos_url":"https://api.github.com/users/PhilippKrone/repos","events_url":"https://api.github.com/users/PhilippKrone/events{/privacy}","received_events_url":"https://api.github.com/users/PhilippKrone/received_events","type":"User","site_admin":false},"created_at":"2015-10-30T09:53:57Z","updated_at":"2015-10-30T09:53:57Z","body":"Currently investigating that. \r\n\r\nIt would be nice to have a function with a callback like:\r\n\r\n````javascript\r\nNativeModule.GMaps.canOpenMaps((success) => {if (!success) { ..<do whatever the app wants to do in this case> }});\r\n````"}}