{"action":"opened","number":111,"pull_request":{"url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/pulls/111","id":64694991,"html_url":"https://github.com/evothings/phonegap-estimotebeacons/pull/111","diff_url":"https://github.com/evothings/phonegap-estimotebeacons/pull/111.diff","patch_url":"https://github.com/evothings/phonegap-estimotebeacons/pull/111.patch","issue_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/issues/111","number":111,"state":"open","locked":false,"title":"[WIP]Initial runtime permissions for android","user":{"login":"barryvdh","id":973269,"avatar_url":"https://avatars.githubusercontent.com/u/973269?v=3","gravatar_id":"","url":"https://api.github.com/users/barryvdh","html_url":"https://github.com/barryvdh","followers_url":"https://api.github.com/users/barryvdh/followers","following_url":"https://api.github.com/users/barryvdh/following{/other_user}","gists_url":"https://api.github.com/users/barryvdh/gists{/gist_id}","starred_url":"https://api.github.com/users/barryvdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryvdh/subscriptions","organizations_url":"https://api.github.com/users/barryvdh/orgs","repos_url":"https://api.github.com/users/barryvdh/repos","events_url":"https://api.github.com/users/barryvdh/events{/privacy}","received_events_url":"https://api.github.com/users/barryvdh/received_events","type":"User","site_admin":false},"body":"Initial implementation for https://github.com/evothings/phonegap-estimotebeacons/issues/110\r\nBased on https://cordova.apache.org/docs/en/dev/guide/platforms/android/plugin.html\r\n\r\nCurrent problems:\r\n- [ ] request is not blocking, so the callbacks need to be used. But these are not working on all versions. I suggest that, when the function is not available (eg ios7), it always executes the success callback. This is a breaking change however.\r\n- [ ] I only changed 2 examples to use the callback yet.\r\n- [ ] Code style is messed up from switchting editors, but hope you get the idea :(","created_at":"2016-03-30T20:51:31Z","updated_at":"2016-03-30T20:51:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/pulls/111/commits","review_comments_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/pulls/111/comments","review_comment_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/issues/111/comments","statuses_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/statuses/93c40f65cce25c2c069e671d5d73651defb0ba0e","head":{"label":"barryvdh:runtime-permissions","ref":"runtime-permissions","sha":"93c40f65cce25c2c069e671d5d73651defb0ba0e","user":{"login":"barryvdh","id":973269,"avatar_url":"https://avatars.githubusercontent.com/u/973269?v=3","gravatar_id":"","url":"https://api.github.com/users/barryvdh","html_url":"https://github.com/barryvdh","followers_url":"https://api.github.com/users/barryvdh/followers","following_url":"https://api.github.com/users/barryvdh/following{/other_user}","gists_url":"https://api.github.com/users/barryvdh/gists{/gist_id}","starred_url":"https://api.github.com/users/barryvdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryvdh/subscriptions","organizations_url":"https://api.github.com/users/barryvdh/orgs","repos_url":"https://api.github.com/users/barryvdh/repos","events_url":"https://api.github.com/users/barryvdh/events{/privacy}","received_events_url":"https://api.github.com/users/barryvdh/received_events","type":"User","site_admin":false},"repo":{"id":55049672,"name":"phonegap-estimotebeacons","full_name":"barryvdh/phonegap-estimotebeacons","owner":{"login":"barryvdh","id":973269,"avatar_url":"https://avatars.githubusercontent.com/u/973269?v=3","gravatar_id":"","url":"https://api.github.com/users/barryvdh","html_url":"https://github.com/barryvdh","followers_url":"https://api.github.com/users/barryvdh/followers","following_url":"https://api.github.com/users/barryvdh/following{/other_user}","gists_url":"https://api.github.com/users/barryvdh/gists{/gist_id}","starred_url":"https://api.github.com/users/barryvdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryvdh/subscriptions","organizations_url":"https://api.github.com/users/barryvdh/orgs","repos_url":"https://api.github.com/users/barryvdh/repos","events_url":"https://api.github.com/users/barryvdh/events{/privacy}","received_events_url":"https://api.github.com/users/barryvdh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/barryvdh/phonegap-estimotebeacons","description":"Estimote iBeacons PhoneGap plugin","fork":true,"url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons","forks_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/forks","keys_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/teams","hooks_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/hooks","issue_events_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/issues/events{/number}","events_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/events","assignees_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/assignees{/user}","branches_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/branches{/branch}","tags_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/tags","blobs_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/git/refs{/sha}","trees_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/statuses/{sha}","languages_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/languages","stargazers_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/stargazers","contributors_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/contributors","subscribers_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/subscribers","subscription_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/subscription","commits_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/commits{/sha}","git_commits_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/git/commits{/sha}","comments_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/comments{/number}","issue_comment_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/issues/comments{/number}","contents_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/contents/{+path}","compare_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/merges","archive_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/downloads","issues_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/issues{/number}","pulls_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/pulls{/number}","milestones_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/milestones{/number}","notifications_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/labels{/name}","releases_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/releases{/id}","deployments_url":"https://api.github.com/repos/barryvdh/phonegap-estimotebeacons/deployments","created_at":"2016-03-30T09:18:55Z","updated_at":"2016-03-30T09:18:56Z","pushed_at":"2016-03-30T20:50:26Z","git_url":"git://github.com/barryvdh/phonegap-estimotebeacons.git","ssh_url":"git@github.com:barryvdh/phonegap-estimotebeacons.git","clone_url":"https://github.com/barryvdh/phonegap-estimotebeacons.git","svn_url":"https://github.com/barryvdh/phonegap-estimotebeacons","homepage":"","size":23994,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"evothings:master","ref":"master","sha":"f867379510126da4f34d13e8d92864bbee48661a","user":{"login":"evothings","id":5575818,"avatar_url":"https://avatars.githubusercontent.com/u/5575818?v=3","gravatar_id":"","url":"https://api.github.com/users/evothings","html_url":"https://github.com/evothings","followers_url":"https://api.github.com/users/evothings/followers","following_url":"https://api.github.com/users/evothings/following{/other_user}","gists_url":"https://api.github.com/users/evothings/gists{/gist_id}","starred_url":"https://api.github.com/users/evothings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evothings/subscriptions","organizations_url":"https://api.github.com/users/evothings/orgs","repos_url":"https://api.github.com/users/evothings/repos","events_url":"https://api.github.com/users/evothings/events{/privacy}","received_events_url":"https://api.github.com/users/evothings/received_events","type":"Organization","site_admin":false},"repo":{"id":13498094,"name":"phonegap-estimotebeacons","full_name":"evothings/phonegap-estimotebeacons","owner":{"login":"evothings","id":5575818,"avatar_url":"https://avatars.githubusercontent.com/u/5575818?v=3","gravatar_id":"","url":"https://api.github.com/users/evothings","html_url":"https://github.com/evothings","followers_url":"https://api.github.com/users/evothings/followers","following_url":"https://api.github.com/users/evothings/following{/other_user}","gists_url":"https://api.github.com/users/evothings/gists{/gist_id}","starred_url":"https://api.github.com/users/evothings/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evothings/subscriptions","organizations_url":"https://api.github.com/users/evothings/orgs","repos_url":"https://api.github.com/users/evothings/repos","events_url":"https://api.github.com/users/evothings/events{/privacy}","received_events_url":"https://api.github.com/users/evothings/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/evothings/phonegap-estimotebeacons","description":"Estimote iBeacons PhoneGap plugin","fork":false,"url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons","forks_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/forks","keys_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/teams","hooks_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/hooks","issue_events_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/issues/events{/number}","events_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/events","assignees_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/assignees{/user}","branches_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/branches{/branch}","tags_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/tags","blobs_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/git/refs{/sha}","trees_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/statuses/{sha}","languages_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/languages","stargazers_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/stargazers","contributors_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/contributors","subscribers_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/subscribers","subscription_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/subscription","commits_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/commits{/sha}","git_commits_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/git/commits{/sha}","comments_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/comments{/number}","issue_comment_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/issues/comments{/number}","contents_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/contents/{+path}","compare_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/merges","archive_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/downloads","issues_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/issues{/number}","pulls_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/pulls{/number}","milestones_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/milestones{/number}","notifications_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/labels{/name}","releases_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/releases{/id}","deployments_url":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/deployments","created_at":"2013-10-11T12:14:37Z","updated_at":"2016-03-22T18:20:22Z","pushed_at":"2016-03-30T09:20:03Z","git_url":"git://github.com/evothings/phonegap-estimotebeacons.git","ssh_url":"git@github.com:evothings/phonegap-estimotebeacons.git","clone_url":"https://github.com/evothings/phonegap-estimotebeacons.git","svn_url":"https://github.com/evothings/phonegap-estimotebeacons","homepage":"","size":24622,"stargazers_count":331,"watchers_count":331,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":159,"mirror_url":null,"open_issues_count":37,"forks":159,"open_issues":37,"watchers":331,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/pulls/111"},"html":{"href":"https://github.com/evothings/phonegap-estimotebeacons/pull/111"},"issue":{"href":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/issues/111"},"comments":{"href":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/evothings/phonegap-estimotebeacons/statuses/93c40f65cce25c2c069e671d5d73651defb0ba0e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":69,"deletions":13,"changed_files":4}}