{"action":"created","comment":{"url":"https://api.github.com/repos/hashcube/utils/pulls/comments/94126268","pull_request_review_id":14656728,"id":94126268,"diff_hunk":"@@ -268,12 +268,35 @@ public void openAppSettings() {\n \n \tpublic void showEnableNotificationPopup(String params) {\n \t\ttry {\n+\t\t\tString title = \"\", message = \"\", open_settings_btn_title = \"\";\n+\t\t\tJSONObject ogData = new JSONObject(params);\n+\t\t\tIterator<?> keys = ogData.keys();\n+\t\t\twhile( keys.hasNext() ){\n+\t\t\t\tString key = (String)keys.next();\n+\t\t\t\tObject o = ogData.get(key);\n+\t\t\t\tif(key.equals(\"title\")){\n+\t\t\t\t\ttitle = (String) o;\n+\t\t\t\t\tcontinue;\n+\t\t\t\t}\n+\t\t\t\tif(key.equals(\"message\")){\n+\t\t\t\t\tmessage = (String) o;\n+\t\t\t\t\tcontinue;\n+\t\t\t\t}\n+\t\t\t\tif(key.equals(\"open_settings_btn_title\")){","path":"android/UtilsPlugin.java","position":59,"original_position":18,"commit_id":"24640fc3cd01c4e1901b31321cd0e8dfa3736a1c","original_commit_id":"8262f17789954ef901872decffce2dc871c3ae88","user":{"login":"bijoshtj","id":5616836,"avatar_url":"https://avatars.githubusercontent.com/u/5616836?v=3","gravatar_id":"","url":"https://api.github.com/users/bijoshtj","html_url":"https://github.com/bijoshtj","followers_url":"https://api.github.com/users/bijoshtj/followers","following_url":"https://api.github.com/users/bijoshtj/following{/other_user}","gists_url":"https://api.github.com/users/bijoshtj/gists{/gist_id}","starred_url":"https://api.github.com/users/bijoshtj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bijoshtj/subscriptions","organizations_url":"https://api.github.com/users/bijoshtj/orgs","repos_url":"https://api.github.com/users/bijoshtj/repos","events_url":"https://api.github.com/users/bijoshtj/events{/privacy}","received_events_url":"https://api.github.com/users/bijoshtj/received_events","type":"User","site_admin":false},"body":"button_title enough?","created_at":"2016-12-29T11:23:34Z","updated_at":"2016-12-29T11:32:00Z","html_url":"https://github.com/hashcube/utils/pull/8#discussion_r94126268","pull_request_url":"https://api.github.com/repos/hashcube/utils/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/hashcube/utils/pulls/comments/94126268"},"html":{"href":"https://github.com/hashcube/utils/pull/8#discussion_r94126268"},"pull_request":{"href":"https://api.github.com/repos/hashcube/utils/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/hashcube/utils/pulls/8","id":99550646,"html_url":"https://github.com/hashcube/utils/pull/8","diff_url":"https://github.com/hashcube/utils/pull/8.diff","patch_url":"https://github.com/hashcube/utils/pull/8.patch","issue_url":"https://api.github.com/repos/hashcube/utils/issues/8","number":8,"state":"open","locked":false,"title":"added support to get notification enable status and take user to settings","user":{"login":"sksethi25","id":6614662,"avatar_url":"https://avatars.githubusercontent.com/u/6614662?v=3","gravatar_id":"","url":"https://api.github.com/users/sksethi25","html_url":"https://github.com/sksethi25","followers_url":"https://api.github.com/users/sksethi25/followers","following_url":"https://api.github.com/users/sksethi25/following{/other_user}","gists_url":"https://api.github.com/users/sksethi25/gists{/gist_id}","starred_url":"https://api.github.com/users/sksethi25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sksethi25/subscriptions","organizations_url":"https://api.github.com/users/sksethi25/orgs","repos_url":"https://api.github.com/users/sksethi25/repos","events_url":"https://api.github.com/users/sksethi25/events{/privacy}","received_events_url":"https://api.github.com/users/sksethi25/received_events","type":"User","site_admin":false},"body":"This is for two things\r\n1. Check if user enabled notification or not.\r\n2. Check  show user native popup and take user to settings if he confirm","created_at":"2016-12-28T13:46:37Z","updated_at":"2016-12-29T11:32:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"98e2c7ee8d7991fd314fb10ce721331522316012","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hashcube/utils/pulls/8/commits","review_comments_url":"https://api.github.com/repos/hashcube/utils/pulls/8/comments","review_comment_url":"https://api.github.com/repos/hashcube/utils/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hashcube/utils/issues/8/comments","statuses_url":"https://api.github.com/repos/hashcube/utils/statuses/24640fc3cd01c4e1901b31321cd0e8dfa3736a1c","head":{"label":"hashcube:notification_enable","ref":"notification_enable","sha":"24640fc3cd01c4e1901b31321cd0e8dfa3736a1c","user":{"login":"hashcube","id":360533,"avatar_url":"https://avatars.githubusercontent.com/u/360533?v=3","gravatar_id":"","url":"https://api.github.com/users/hashcube","html_url":"https://github.com/hashcube","followers_url":"https://api.github.com/users/hashcube/followers","following_url":"https://api.github.com/users/hashcube/following{/other_user}","gists_url":"https://api.github.com/users/hashcube/gists{/gist_id}","starred_url":"https://api.github.com/users/hashcube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashcube/subscriptions","organizations_url":"https://api.github.com/users/hashcube/orgs","repos_url":"https://api.github.com/users/hashcube/repos","events_url":"https://api.github.com/users/hashcube/events{/privacy}","received_events_url":"https://api.github.com/users/hashcube/received_events","type":"Organization","site_admin":false},"repo":{"id":14915269,"name":"utils","full_name":"hashcube/utils","owner":{"login":"hashcube","id":360533,"avatar_url":"https://avatars.githubusercontent.com/u/360533?v=3","gravatar_id":"","url":"https://api.github.com/users/hashcube","html_url":"https://github.com/hashcube","followers_url":"https://api.github.com/users/hashcube/followers","following_url":"https://api.github.com/users/hashcube/following{/other_user}","gists_url":"https://api.github.com/users/hashcube/gists{/gist_id}","starred_url":"https://api.github.com/users/hashcube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashcube/subscriptions","organizations_url":"https://api.github.com/users/hashcube/orgs","repos_url":"https://api.github.com/users/hashcube/repos","events_url":"https://api.github.com/users/hashcube/events{/privacy}","received_events_url":"https://api.github.com/users/hashcube/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hashcube/utils","description":"Native Utilities Plguin for Gameclosure","fork":false,"url":"https://api.github.com/repos/hashcube/utils","forks_url":"https://api.github.com/repos/hashcube/utils/forks","keys_url":"https://api.github.com/repos/hashcube/utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashcube/utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashcube/utils/teams","hooks_url":"https://api.github.com/repos/hashcube/utils/hooks","issue_events_url":"https://api.github.com/repos/hashcube/utils/issues/events{/number}","events_url":"https://api.github.com/repos/hashcube/utils/events","assignees_url":"https://api.github.com/repos/hashcube/utils/assignees{/user}","branches_url":"https://api.github.com/repos/hashcube/utils/branches{/branch}","tags_url":"https://api.github.com/repos/hashcube/utils/tags","blobs_url":"https://api.github.com/repos/hashcube/utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashcube/utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashcube/utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashcube/utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashcube/utils/statuses/{sha}","languages_url":"https://api.github.com/repos/hashcube/utils/languages","stargazers_url":"https://api.github.com/repos/hashcube/utils/stargazers","contributors_url":"https://api.github.com/repos/hashcube/utils/contributors","subscribers_url":"https://api.github.com/repos/hashcube/utils/subscribers","subscription_url":"https://api.github.com/repos/hashcube/utils/subscription","commits_url":"https://api.github.com/repos/hashcube/utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashcube/utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashcube/utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashcube/utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashcube/utils/contents/{+path}","compare_url":"https://api.github.com/repos/hashcube/utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashcube/utils/merges","archive_url":"https://api.github.com/repos/hashcube/utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashcube/utils/downloads","issues_url":"https://api.github.com/repos/hashcube/utils/issues{/number}","pulls_url":"https://api.github.com/repos/hashcube/utils/pulls{/number}","milestones_url":"https://api.github.com/repos/hashcube/utils/milestones{/number}","notifications_url":"https://api.github.com/repos/hashcube/utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashcube/utils/labels{/name}","releases_url":"https://api.github.com/repos/hashcube/utils/releases{/id}","deployments_url":"https://api.github.com/repos/hashcube/utils/deployments","created_at":"2013-12-04T05:32:57Z","updated_at":"2016-06-08T10:39:01Z","pushed_at":"2016-12-29T11:28:37Z","git_url":"git://github.com/hashcube/utils.git","ssh_url":"git@github.com:hashcube/utils.git","clone_url":"https://github.com/hashcube/utils.git","svn_url":"https://github.com/hashcube/utils","homepage":null,"size":2511,"stargazers_count":2,"watchers_count":2,"language":"Objective-C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"hashcube:master","ref":"master","sha":"1a9829207801aed0a6674ac1e83e96cee7b61e9e","user":{"login":"hashcube","id":360533,"avatar_url":"https://avatars.githubusercontent.com/u/360533?v=3","gravatar_id":"","url":"https://api.github.com/users/hashcube","html_url":"https://github.com/hashcube","followers_url":"https://api.github.com/users/hashcube/followers","following_url":"https://api.github.com/users/hashcube/following{/other_user}","gists_url":"https://api.github.com/users/hashcube/gists{/gist_id}","starred_url":"https://api.github.com/users/hashcube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashcube/subscriptions","organizations_url":"https://api.github.com/users/hashcube/orgs","repos_url":"https://api.github.com/users/hashcube/repos","events_url":"https://api.github.com/users/hashcube/events{/privacy}","received_events_url":"https://api.github.com/users/hashcube/received_events","type":"Organization","site_admin":false},"repo":{"id":14915269,"name":"utils","full_name":"hashcube/utils","owner":{"login":"hashcube","id":360533,"avatar_url":"https://avatars.githubusercontent.com/u/360533?v=3","gravatar_id":"","url":"https://api.github.com/users/hashcube","html_url":"https://github.com/hashcube","followers_url":"https://api.github.com/users/hashcube/followers","following_url":"https://api.github.com/users/hashcube/following{/other_user}","gists_url":"https://api.github.com/users/hashcube/gists{/gist_id}","starred_url":"https://api.github.com/users/hashcube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashcube/subscriptions","organizations_url":"https://api.github.com/users/hashcube/orgs","repos_url":"https://api.github.com/users/hashcube/repos","events_url":"https://api.github.com/users/hashcube/events{/privacy}","received_events_url":"https://api.github.com/users/hashcube/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hashcube/utils","description":"Native Utilities Plguin for Gameclosure","fork":false,"url":"https://api.github.com/repos/hashcube/utils","forks_url":"https://api.github.com/repos/hashcube/utils/forks","keys_url":"https://api.github.com/repos/hashcube/utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hashcube/utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hashcube/utils/teams","hooks_url":"https://api.github.com/repos/hashcube/utils/hooks","issue_events_url":"https://api.github.com/repos/hashcube/utils/issues/events{/number}","events_url":"https://api.github.com/repos/hashcube/utils/events","assignees_url":"https://api.github.com/repos/hashcube/utils/assignees{/user}","branches_url":"https://api.github.com/repos/hashcube/utils/branches{/branch}","tags_url":"https://api.github.com/repos/hashcube/utils/tags","blobs_url":"https://api.github.com/repos/hashcube/utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hashcube/utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hashcube/utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/hashcube/utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hashcube/utils/statuses/{sha}","languages_url":"https://api.github.com/repos/hashcube/utils/languages","stargazers_url":"https://api.github.com/repos/hashcube/utils/stargazers","contributors_url":"https://api.github.com/repos/hashcube/utils/contributors","subscribers_url":"https://api.github.com/repos/hashcube/utils/subscribers","subscription_url":"https://api.github.com/repos/hashcube/utils/subscription","commits_url":"https://api.github.com/repos/hashcube/utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/hashcube/utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/hashcube/utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/hashcube/utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/hashcube/utils/contents/{+path}","compare_url":"https://api.github.com/repos/hashcube/utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hashcube/utils/merges","archive_url":"https://api.github.com/repos/hashcube/utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hashcube/utils/downloads","issues_url":"https://api.github.com/repos/hashcube/utils/issues{/number}","pulls_url":"https://api.github.com/repos/hashcube/utils/pulls{/number}","milestones_url":"https://api.github.com/repos/hashcube/utils/milestones{/number}","notifications_url":"https://api.github.com/repos/hashcube/utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hashcube/utils/labels{/name}","releases_url":"https://api.github.com/repos/hashcube/utils/releases{/id}","deployments_url":"https://api.github.com/repos/hashcube/utils/deployments","created_at":"2013-12-04T05:32:57Z","updated_at":"2016-06-08T10:39:01Z","pushed_at":"2016-12-29T11:28:37Z","git_url":"git://github.com/hashcube/utils.git","ssh_url":"git@github.com:hashcube/utils.git","clone_url":"https://github.com/hashcube/utils.git","svn_url":"https://github.com/hashcube/utils","homepage":null,"size":2511,"stargazers_count":2,"watchers_count":2,"language":"Objective-C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hashcube/utils/pulls/8"},"html":{"href":"https://github.com/hashcube/utils/pull/8"},"issue":{"href":"https://api.github.com/repos/hashcube/utils/issues/8"},"comments":{"href":"https://api.github.com/repos/hashcube/utils/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/hashcube/utils/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/hashcube/utils/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hashcube/utils/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/hashcube/utils/statuses/24640fc3cd01c4e1901b31321cd0e8dfa3736a1c"}}}}
{"actor":{"display_login":"bijoshtj"}}