{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/sondrewe/myfriends-client/pulls/1","id":59603991,"html_url":"https://github.com/sondrewe/myfriends-client/pull/1","diff_url":"https://github.com/sondrewe/myfriends-client/pull/1.diff","patch_url":"https://github.com/sondrewe/myfriends-client/pull/1.patch","issue_url":"https://api.github.com/repos/sondrewe/myfriends-client/issues/1","number":1,"state":"open","locked":false,"title":"Rettet abonnement på plassering","user":{"login":"pcmoen","id":5680727,"avatar_url":"https://avatars.githubusercontent.com/u/5680727?v=3","gravatar_id":"","url":"https://api.github.com/users/pcmoen","html_url":"https://github.com/pcmoen","followers_url":"https://api.github.com/users/pcmoen/followers","following_url":"https://api.github.com/users/pcmoen/following{/other_user}","gists_url":"https://api.github.com/users/pcmoen/gists{/gist_id}","starred_url":"https://api.github.com/users/pcmoen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcmoen/subscriptions","organizations_url":"https://api.github.com/users/pcmoen/orgs","repos_url":"https://api.github.com/users/pcmoen/repos","events_url":"https://api.github.com/users/pcmoen/events{/privacy}","received_events_url":"https://api.github.com/users/pcmoen/received_events","type":"User","site_admin":false},"body":"Starter abbonement på plasseringsoppdateringer etter at både GoogleMaps og Google Play API er tilgengelig. Starter abonnementet både om bruker allerede har gitt tilgang til plassering og etter at tilgang er blitt forespurt og godkjent.\r\n\r\nDette retter dagens kode hvor man kun starter abonnement hvis man må be om tilgang til plassering. Dette vil kun skje første gangen programmet startes eller om bruker har fjernet tilgang til plassering. Dette ble innført av 4ffb29f33906e1a305a22de744ca833427cadaf4.\r\n\r\nEr litt usikker om det finnes en garantert rekkefølge på når Google Maps (onMapReady) og Google Play API (onConnected) er klare. Løste dette ved å sjekke begge. Better safe than sorry...","created_at":"2016-02-17T07:02:20Z","updated_at":"2016-02-17T07:02:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sondrewe/myfriends-client/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sondrewe/myfriends-client/pulls/1/comments","review_comment_url":"https://api.github.com/repos/sondrewe/myfriends-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sondrewe/myfriends-client/issues/1/comments","statuses_url":"https://api.github.com/repos/sondrewe/myfriends-client/statuses/31cd80c9231df389b6443868e7f5dcbd5a9c45ed","head":{"label":"pcmoen:master","ref":"master","sha":"31cd80c9231df389b6443868e7f5dcbd5a9c45ed","user":{"login":"pcmoen","id":5680727,"avatar_url":"https://avatars.githubusercontent.com/u/5680727?v=3","gravatar_id":"","url":"https://api.github.com/users/pcmoen","html_url":"https://github.com/pcmoen","followers_url":"https://api.github.com/users/pcmoen/followers","following_url":"https://api.github.com/users/pcmoen/following{/other_user}","gists_url":"https://api.github.com/users/pcmoen/gists{/gist_id}","starred_url":"https://api.github.com/users/pcmoen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcmoen/subscriptions","organizations_url":"https://api.github.com/users/pcmoen/orgs","repos_url":"https://api.github.com/users/pcmoen/repos","events_url":"https://api.github.com/users/pcmoen/events{/privacy}","received_events_url":"https://api.github.com/users/pcmoen/received_events","type":"User","site_admin":false},"repo":{"id":51900634,"name":"myfriends-client","full_name":"pcmoen/myfriends-client","owner":{"login":"pcmoen","id":5680727,"avatar_url":"https://avatars.githubusercontent.com/u/5680727?v=3","gravatar_id":"","url":"https://api.github.com/users/pcmoen","html_url":"https://github.com/pcmoen","followers_url":"https://api.github.com/users/pcmoen/followers","following_url":"https://api.github.com/users/pcmoen/following{/other_user}","gists_url":"https://api.github.com/users/pcmoen/gists{/gist_id}","starred_url":"https://api.github.com/users/pcmoen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcmoen/subscriptions","organizations_url":"https://api.github.com/users/pcmoen/orgs","repos_url":"https://api.github.com/users/pcmoen/repos","events_url":"https://api.github.com/users/pcmoen/events{/privacy}","received_events_url":"https://api.github.com/users/pcmoen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pcmoen/myfriends-client","description":"","fork":true,"url":"https://api.github.com/repos/pcmoen/myfriends-client","forks_url":"https://api.github.com/repos/pcmoen/myfriends-client/forks","keys_url":"https://api.github.com/repos/pcmoen/myfriends-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pcmoen/myfriends-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pcmoen/myfriends-client/teams","hooks_url":"https://api.github.com/repos/pcmoen/myfriends-client/hooks","issue_events_url":"https://api.github.com/repos/pcmoen/myfriends-client/issues/events{/number}","events_url":"https://api.github.com/repos/pcmoen/myfriends-client/events","assignees_url":"https://api.github.com/repos/pcmoen/myfriends-client/assignees{/user}","branches_url":"https://api.github.com/repos/pcmoen/myfriends-client/branches{/branch}","tags_url":"https://api.github.com/repos/pcmoen/myfriends-client/tags","blobs_url":"https://api.github.com/repos/pcmoen/myfriends-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pcmoen/myfriends-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pcmoen/myfriends-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/pcmoen/myfriends-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pcmoen/myfriends-client/statuses/{sha}","languages_url":"https://api.github.com/repos/pcmoen/myfriends-client/languages","stargazers_url":"https://api.github.com/repos/pcmoen/myfriends-client/stargazers","contributors_url":"https://api.github.com/repos/pcmoen/myfriends-client/contributors","subscribers_url":"https://api.github.com/repos/pcmoen/myfriends-client/subscribers","subscription_url":"https://api.github.com/repos/pcmoen/myfriends-client/subscription","commits_url":"https://api.github.com/repos/pcmoen/myfriends-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/pcmoen/myfriends-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/pcmoen/myfriends-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/pcmoen/myfriends-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/pcmoen/myfriends-client/contents/{+path}","compare_url":"https://api.github.com/repos/pcmoen/myfriends-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pcmoen/myfriends-client/merges","archive_url":"https://api.github.com/repos/pcmoen/myfriends-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pcmoen/myfriends-client/downloads","issues_url":"https://api.github.com/repos/pcmoen/myfriends-client/issues{/number}","pulls_url":"https://api.github.com/repos/pcmoen/myfriends-client/pulls{/number}","milestones_url":"https://api.github.com/repos/pcmoen/myfriends-client/milestones{/number}","notifications_url":"https://api.github.com/repos/pcmoen/myfriends-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pcmoen/myfriends-client/labels{/name}","releases_url":"https://api.github.com/repos/pcmoen/myfriends-client/releases{/id}","deployments_url":"https://api.github.com/repos/pcmoen/myfriends-client/deployments","created_at":"2016-02-17T06:35:39Z","updated_at":"2016-02-17T06:35:41Z","pushed_at":"2016-02-17T06:53:13Z","git_url":"git://github.com/pcmoen/myfriends-client.git","ssh_url":"git@github.com:pcmoen/myfriends-client.git","clone_url":"https://github.com/pcmoen/myfriends-client.git","svn_url":"https://github.com/pcmoen/myfriends-client","homepage":null,"size":106,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"sondrewe:master","ref":"master","sha":"4ffb29f33906e1a305a22de744ca833427cadaf4","user":{"login":"sondrewe","id":1591446,"avatar_url":"https://avatars.githubusercontent.com/u/1591446?v=3","gravatar_id":"","url":"https://api.github.com/users/sondrewe","html_url":"https://github.com/sondrewe","followers_url":"https://api.github.com/users/sondrewe/followers","following_url":"https://api.github.com/users/sondrewe/following{/other_user}","gists_url":"https://api.github.com/users/sondrewe/gists{/gist_id}","starred_url":"https://api.github.com/users/sondrewe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sondrewe/subscriptions","organizations_url":"https://api.github.com/users/sondrewe/orgs","repos_url":"https://api.github.com/users/sondrewe/repos","events_url":"https://api.github.com/users/sondrewe/events{/privacy}","received_events_url":"https://api.github.com/users/sondrewe/received_events","type":"User","site_admin":false},"repo":{"id":51576306,"name":"myfriends-client","full_name":"sondrewe/myfriends-client","owner":{"login":"sondrewe","id":1591446,"avatar_url":"https://avatars.githubusercontent.com/u/1591446?v=3","gravatar_id":"","url":"https://api.github.com/users/sondrewe","html_url":"https://github.com/sondrewe","followers_url":"https://api.github.com/users/sondrewe/followers","following_url":"https://api.github.com/users/sondrewe/following{/other_user}","gists_url":"https://api.github.com/users/sondrewe/gists{/gist_id}","starred_url":"https://api.github.com/users/sondrewe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sondrewe/subscriptions","organizations_url":"https://api.github.com/users/sondrewe/orgs","repos_url":"https://api.github.com/users/sondrewe/repos","events_url":"https://api.github.com/users/sondrewe/events{/privacy}","received_events_url":"https://api.github.com/users/sondrewe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sondrewe/myfriends-client","description":"","fork":false,"url":"https://api.github.com/repos/sondrewe/myfriends-client","forks_url":"https://api.github.com/repos/sondrewe/myfriends-client/forks","keys_url":"https://api.github.com/repos/sondrewe/myfriends-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sondrewe/myfriends-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sondrewe/myfriends-client/teams","hooks_url":"https://api.github.com/repos/sondrewe/myfriends-client/hooks","issue_events_url":"https://api.github.com/repos/sondrewe/myfriends-client/issues/events{/number}","events_url":"https://api.github.com/repos/sondrewe/myfriends-client/events","assignees_url":"https://api.github.com/repos/sondrewe/myfriends-client/assignees{/user}","branches_url":"https://api.github.com/repos/sondrewe/myfriends-client/branches{/branch}","tags_url":"https://api.github.com/repos/sondrewe/myfriends-client/tags","blobs_url":"https://api.github.com/repos/sondrewe/myfriends-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sondrewe/myfriends-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sondrewe/myfriends-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/sondrewe/myfriends-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sondrewe/myfriends-client/statuses/{sha}","languages_url":"https://api.github.com/repos/sondrewe/myfriends-client/languages","stargazers_url":"https://api.github.com/repos/sondrewe/myfriends-client/stargazers","contributors_url":"https://api.github.com/repos/sondrewe/myfriends-client/contributors","subscribers_url":"https://api.github.com/repos/sondrewe/myfriends-client/subscribers","subscription_url":"https://api.github.com/repos/sondrewe/myfriends-client/subscription","commits_url":"https://api.github.com/repos/sondrewe/myfriends-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/sondrewe/myfriends-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/sondrewe/myfriends-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/sondrewe/myfriends-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/sondrewe/myfriends-client/contents/{+path}","compare_url":"https://api.github.com/repos/sondrewe/myfriends-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sondrewe/myfriends-client/merges","archive_url":"https://api.github.com/repos/sondrewe/myfriends-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sondrewe/myfriends-client/downloads","issues_url":"https://api.github.com/repos/sondrewe/myfriends-client/issues{/number}","pulls_url":"https://api.github.com/repos/sondrewe/myfriends-client/pulls{/number}","milestones_url":"https://api.github.com/repos/sondrewe/myfriends-client/milestones{/number}","notifications_url":"https://api.github.com/repos/sondrewe/myfriends-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sondrewe/myfriends-client/labels{/name}","releases_url":"https://api.github.com/repos/sondrewe/myfriends-client/releases{/id}","deployments_url":"https://api.github.com/repos/sondrewe/myfriends-client/deployments","created_at":"2016-02-12T08:50:43Z","updated_at":"2016-02-16T15:23:21Z","pushed_at":"2016-02-16T16:20:27Z","git_url":"git://github.com/sondrewe/myfriends-client.git","ssh_url":"git@github.com:sondrewe/myfriends-client.git","clone_url":"https://github.com/sondrewe/myfriends-client.git","svn_url":"https://github.com/sondrewe/myfriends-client","homepage":null,"size":110,"stargazers_count":2,"watchers_count":2,"language":"Java","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/sondrewe/myfriends-client/pulls/1"},"html":{"href":"https://github.com/sondrewe/myfriends-client/pull/1"},"issue":{"href":"https://api.github.com/repos/sondrewe/myfriends-client/issues/1"},"comments":{"href":"https://api.github.com/repos/sondrewe/myfriends-client/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sondrewe/myfriends-client/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/sondrewe/myfriends-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sondrewe/myfriends-client/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/sondrewe/myfriends-client/statuses/31cd80c9231df389b6443868e7f5dcbd5a9c45ed"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":25,"deletions":14,"changed_files":1}}