{"action":"created","comment":{"url":"https://api.github.com/repos/radarlabs/react-native-radar/pulls/comments/210127562","pull_request_review_id":146280347,"id":210127562,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMDEyNzU2Mg==","diff_hunk":"@@ -98,6 +100,26 @@ static int numberForUserInsightsLocationConfidence(RadarUserInsightsLocation.Rad\n         return Radar.RadarPlacesProvider.NONE;\n     }\n \n+    static WritableMap mapForJSONObject(JSONObject obj) {\n+        WritableMap map = Arguments.createMap();\n+        Iterator<String> keys = obj.keys();\n+        while(keys.hasNext()) {\n+            String key = keys.next();\n+            Object val = obj.get(key);\n+            if (val instanceof String) {\n+                String valStr = (String)val;\n+                map.putString(key, valStr);\n+            } else if (val instanceof Number) {\n+                Number valNum = (Number)val;\n+                map.putInt(key, valNum.intValue());\n+            } else if (val instanceof Boolean) {\n+                Boolean valBool = (Boolean)val;\n+                map.putBoolean(valBool.booleanValue());","path":"android/src/main/java/io/radar/react/RNRadarUtils.java","position":27,"original_position":27,"commit_id":"cc8eda6997e6ebcc94c4b531e8686b33f9776143","original_commit_id":"cc8eda6997e6ebcc94c4b531e8686b33f9776143","user":{"login":"coolbrow","id":1281199,"node_id":"MDQ6VXNlcjEyODExOTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1281199?v=4","gravatar_id":"","url":"https://api.github.com/users/coolbrow","html_url":"https://github.com/coolbrow","followers_url":"https://api.github.com/users/coolbrow/followers","following_url":"https://api.github.com/users/coolbrow/following{/other_user}","gists_url":"https://api.github.com/users/coolbrow/gists{/gist_id}","starred_url":"https://api.github.com/users/coolbrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolbrow/subscriptions","organizations_url":"https://api.github.com/users/coolbrow/orgs","repos_url":"https://api.github.com/users/coolbrow/repos","events_url":"https://api.github.com/users/coolbrow/events{/privacy}","received_events_url":"https://api.github.com/users/coolbrow/received_events","type":"User","site_admin":false},"body":"Shouldn't this have a key?","created_at":"2018-08-14T22:46:01Z","updated_at":"2018-08-14T22:46:01Z","html_url":"https://github.com/radarlabs/react-native-radar/pull/37#discussion_r210127562","pull_request_url":"https://api.github.com/repos/radarlabs/react-native-radar/pulls/37","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/radarlabs/react-native-radar/pulls/comments/210127562"},"html":{"href":"https://github.com/radarlabs/react-native-radar/pull/37#discussion_r210127562"},"pull_request":{"href":"https://api.github.com/repos/radarlabs/react-native-radar/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/radarlabs/react-native-radar/pulls/37","id":208429570,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4NDI5NTcw","html_url":"https://github.com/radarlabs/react-native-radar/pull/37","diff_url":"https://github.com/radarlabs/react-native-radar/pull/37.diff","patch_url":"https://github.com/radarlabs/react-native-radar/pull/37.patch","issue_url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/37","number":37,"state":"open","locked":false,"title":"Expose geofence metadata","user":{"login":"nickpatrick","id":245210,"node_id":"MDQ6VXNlcjI0NTIxMA==","avatar_url":"https://avatars2.githubusercontent.com/u/245210?v=4","gravatar_id":"","url":"https://api.github.com/users/nickpatrick","html_url":"https://github.com/nickpatrick","followers_url":"https://api.github.com/users/nickpatrick/followers","following_url":"https://api.github.com/users/nickpatrick/following{/other_user}","gists_url":"https://api.github.com/users/nickpatrick/gists{/gist_id}","starred_url":"https://api.github.com/users/nickpatrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickpatrick/subscriptions","organizations_url":"https://api.github.com/users/nickpatrick/orgs","repos_url":"https://api.github.com/users/nickpatrick/repos","events_url":"https://api.github.com/users/nickpatrick/events{/privacy}","received_events_url":"https://api.github.com/users/nickpatrick/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-14T22:36:40Z","updated_at":"2018-08-14T22:46:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"093d81a9c94444927f8fa783803023a36b972af1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/radarlabs/react-native-radar/pulls/37/commits","review_comments_url":"https://api.github.com/repos/radarlabs/react-native-radar/pulls/37/comments","review_comment_url":"https://api.github.com/repos/radarlabs/react-native-radar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/37/comments","statuses_url":"https://api.github.com/repos/radarlabs/react-native-radar/statuses/cc8eda6997e6ebcc94c4b531e8686b33f9776143","head":{"label":"radarlabs:feature/geofence-metadata","ref":"feature/geofence-metadata","sha":"cc8eda6997e6ebcc94c4b531e8686b33f9776143","user":{"login":"radarlabs","id":19912091,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTEyMDkx","avatar_url":"https://avatars2.githubusercontent.com/u/19912091?v=4","gravatar_id":"","url":"https://api.github.com/users/radarlabs","html_url":"https://github.com/radarlabs","followers_url":"https://api.github.com/users/radarlabs/followers","following_url":"https://api.github.com/users/radarlabs/following{/other_user}","gists_url":"https://api.github.com/users/radarlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/radarlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radarlabs/subscriptions","organizations_url":"https://api.github.com/users/radarlabs/orgs","repos_url":"https://api.github.com/users/radarlabs/repos","events_url":"https://api.github.com/users/radarlabs/events{/privacy}","received_events_url":"https://api.github.com/users/radarlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":85510724,"node_id":"MDEwOlJlcG9zaXRvcnk4NTUxMDcyNA==","name":"react-native-radar","full_name":"radarlabs/react-native-radar","owner":{"login":"radarlabs","id":19912091,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTEyMDkx","avatar_url":"https://avatars2.githubusercontent.com/u/19912091?v=4","gravatar_id":"","url":"https://api.github.com/users/radarlabs","html_url":"https://github.com/radarlabs","followers_url":"https://api.github.com/users/radarlabs/followers","following_url":"https://api.github.com/users/radarlabs/following{/other_user}","gists_url":"https://api.github.com/users/radarlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/radarlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radarlabs/subscriptions","organizations_url":"https://api.github.com/users/radarlabs/orgs","repos_url":"https://api.github.com/users/radarlabs/repos","events_url":"https://api.github.com/users/radarlabs/events{/privacy}","received_events_url":"https://api.github.com/users/radarlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/radarlabs/react-native-radar","description":"React Native module for Radar, the location platform for mobile apps","fork":false,"url":"https://api.github.com/repos/radarlabs/react-native-radar","forks_url":"https://api.github.com/repos/radarlabs/react-native-radar/forks","keys_url":"https://api.github.com/repos/radarlabs/react-native-radar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/radarlabs/react-native-radar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/radarlabs/react-native-radar/teams","hooks_url":"https://api.github.com/repos/radarlabs/react-native-radar/hooks","issue_events_url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/events{/number}","events_url":"https://api.github.com/repos/radarlabs/react-native-radar/events","assignees_url":"https://api.github.com/repos/radarlabs/react-native-radar/assignees{/user}","branches_url":"https://api.github.com/repos/radarlabs/react-native-radar/branches{/branch}","tags_url":"https://api.github.com/repos/radarlabs/react-native-radar/tags","blobs_url":"https://api.github.com/repos/radarlabs/react-native-radar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/radarlabs/react-native-radar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/radarlabs/react-native-radar/git/refs{/sha}","trees_url":"https://api.github.com/repos/radarlabs/react-native-radar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/radarlabs/react-native-radar/statuses/{sha}","languages_url":"https://api.github.com/repos/radarlabs/react-native-radar/languages","stargazers_url":"https://api.github.com/repos/radarlabs/react-native-radar/stargazers","contributors_url":"https://api.github.com/repos/radarlabs/react-native-radar/contributors","subscribers_url":"https://api.github.com/repos/radarlabs/react-native-radar/subscribers","subscription_url":"https://api.github.com/repos/radarlabs/react-native-radar/subscription","commits_url":"https://api.github.com/repos/radarlabs/react-native-radar/commits{/sha}","git_commits_url":"https://api.github.com/repos/radarlabs/react-native-radar/git/commits{/sha}","comments_url":"https://api.github.com/repos/radarlabs/react-native-radar/comments{/number}","issue_comment_url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/comments{/number}","contents_url":"https://api.github.com/repos/radarlabs/react-native-radar/contents/{+path}","compare_url":"https://api.github.com/repos/radarlabs/react-native-radar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/radarlabs/react-native-radar/merges","archive_url":"https://api.github.com/repos/radarlabs/react-native-radar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/radarlabs/react-native-radar/downloads","issues_url":"https://api.github.com/repos/radarlabs/react-native-radar/issues{/number}","pulls_url":"https://api.github.com/repos/radarlabs/react-native-radar/pulls{/number}","milestones_url":"https://api.github.com/repos/radarlabs/react-native-radar/milestones{/number}","notifications_url":"https://api.github.com/repos/radarlabs/react-native-radar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/radarlabs/react-native-radar/labels{/name}","releases_url":"https://api.github.com/repos/radarlabs/react-native-radar/releases{/id}","deployments_url":"https://api.github.com/repos/radarlabs/react-native-radar/deployments","created_at":"2017-03-19T21:40:04Z","updated_at":"2018-08-13T17:24:45Z","pushed_at":"2018-08-14T22:44:08Z","git_url":"git://github.com/radarlabs/react-native-radar.git","ssh_url":"git@github.com:radarlabs/react-native-radar.git","clone_url":"https://github.com/radarlabs/react-native-radar.git","svn_url":"https://github.com/radarlabs/react-native-radar","homepage":"https://radar.io","size":134,"stargazers_count":34,"watchers_count":34,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":10,"open_issues":5,"watchers":34,"default_branch":"master"}},"base":{"label":"radarlabs:master","ref":"master","sha":"726461aab207787a1f420a68ad54df9eb31c258f","user":{"login":"radarlabs","id":19912091,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTEyMDkx","avatar_url":"https://avatars2.githubusercontent.com/u/19912091?v=4","gravatar_id":"","url":"https://api.github.com/users/radarlabs","html_url":"https://github.com/radarlabs","followers_url":"https://api.github.com/users/radarlabs/followers","following_url":"https://api.github.com/users/radarlabs/following{/other_user}","gists_url":"https://api.github.com/users/radarlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/radarlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radarlabs/subscriptions","organizations_url":"https://api.github.com/users/radarlabs/orgs","repos_url":"https://api.github.com/users/radarlabs/repos","events_url":"https://api.github.com/users/radarlabs/events{/privacy}","received_events_url":"https://api.github.com/users/radarlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":85510724,"node_id":"MDEwOlJlcG9zaXRvcnk4NTUxMDcyNA==","name":"react-native-radar","full_name":"radarlabs/react-native-radar","owner":{"login":"radarlabs","id":19912091,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5OTEyMDkx","avatar_url":"https://avatars2.githubusercontent.com/u/19912091?v=4","gravatar_id":"","url":"https://api.github.com/users/radarlabs","html_url":"https://github.com/radarlabs","followers_url":"https://api.github.com/users/radarlabs/followers","following_url":"https://api.github.com/users/radarlabs/following{/other_user}","gists_url":"https://api.github.com/users/radarlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/radarlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radarlabs/subscriptions","organizations_url":"https://api.github.com/users/radarlabs/orgs","repos_url":"https://api.github.com/users/radarlabs/repos","events_url":"https://api.github.com/users/radarlabs/events{/privacy}","received_events_url":"https://api.github.com/users/radarlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/radarlabs/react-native-radar","description":"React Native module for Radar, the location platform for mobile apps","fork":false,"url":"https://api.github.com/repos/radarlabs/react-native-radar","forks_url":"https://api.github.com/repos/radarlabs/react-native-radar/forks","keys_url":"https://api.github.com/repos/radarlabs/react-native-radar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/radarlabs/react-native-radar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/radarlabs/react-native-radar/teams","hooks_url":"https://api.github.com/repos/radarlabs/react-native-radar/hooks","issue_events_url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/events{/number}","events_url":"https://api.github.com/repos/radarlabs/react-native-radar/events","assignees_url":"https://api.github.com/repos/radarlabs/react-native-radar/assignees{/user}","branches_url":"https://api.github.com/repos/radarlabs/react-native-radar/branches{/branch}","tags_url":"https://api.github.com/repos/radarlabs/react-native-radar/tags","blobs_url":"https://api.github.com/repos/radarlabs/react-native-radar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/radarlabs/react-native-radar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/radarlabs/react-native-radar/git/refs{/sha}","trees_url":"https://api.github.com/repos/radarlabs/react-native-radar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/radarlabs/react-native-radar/statuses/{sha}","languages_url":"https://api.github.com/repos/radarlabs/react-native-radar/languages","stargazers_url":"https://api.github.com/repos/radarlabs/react-native-radar/stargazers","contributors_url":"https://api.github.com/repos/radarlabs/react-native-radar/contributors","subscribers_url":"https://api.github.com/repos/radarlabs/react-native-radar/subscribers","subscription_url":"https://api.github.com/repos/radarlabs/react-native-radar/subscription","commits_url":"https://api.github.com/repos/radarlabs/react-native-radar/commits{/sha}","git_commits_url":"https://api.github.com/repos/radarlabs/react-native-radar/git/commits{/sha}","comments_url":"https://api.github.com/repos/radarlabs/react-native-radar/comments{/number}","issue_comment_url":"https://api.github.com/repos/radarlabs/react-native-radar/issues/comments{/number}","contents_url":"https://api.github.com/repos/radarlabs/react-native-radar/contents/{+path}","compare_url":"https://api.github.com/repos/radarlabs/react-native-radar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/radarlabs/react-native-radar/merges","archive_url":"https://api.github.com/repos/radarlabs/react-native-radar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/radarlabs/react-native-radar/downloads","issues_url":"https://api.github.com/repos/radarlabs/react-native-radar/issues{/number}","pulls_url":"https://api.github.com/repos/radarlabs/react-native-radar/pulls{/number}","milestones_url":"https://api.github.com/repos/radarlabs/react-native-radar/milestones{/number}","notifications_url":"https://api.github.com/repos/radarlabs/react-native-radar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/radarlabs/react-native-radar/labels{/name}","releases_url":"https://api.github.com/repos/radarlabs/react-native-radar/releases{/id}","deployments_url":"https://api.github.com/repos/radarlabs/react-native-radar/deployments","created_at":"2017-03-19T21:40:04Z","updated_at":"2018-08-13T17:24:45Z","pushed_at":"2018-08-14T22:44:08Z","git_url":"git://github.com/radarlabs/react-native-radar.git","ssh_url":"git@github.com:radarlabs/react-native-radar.git","clone_url":"https://github.com/radarlabs/react-native-radar.git","svn_url":"https://github.com/radarlabs/react-native-radar","homepage":"https://radar.io","size":134,"stargazers_count":34,"watchers_count":34,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":10,"open_issues":5,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/radarlabs/react-native-radar/pulls/37"},"html":{"href":"https://github.com/radarlabs/react-native-radar/pull/37"},"issue":{"href":"https://api.github.com/repos/radarlabs/react-native-radar/issues/37"},"comments":{"href":"https://api.github.com/repos/radarlabs/react-native-radar/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/radarlabs/react-native-radar/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/radarlabs/react-native-radar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/radarlabs/react-native-radar/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/radarlabs/react-native-radar/statuses/cc8eda6997e6ebcc94c4b531e8686b33f9776143"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"coolbrow"}}