{"action":"created","comment":{"url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/pulls/comments/40413714","id":40413714,"diff_hunk":"@@ -1,6 +1,8 @@\n package com.dimelo.sampleapp;\n \n import android.content.Context;\n+import android.content.pm.PackageInfo;\n+import android.content.pm.PackageManager;","path":"app/src/main/java/com/dimelo/sampleapp/MainActivity.java","position":null,"original_position":5,"commit_id":"4524e47c6af7b8a27cbbd662c5d3156bc58f26fa","original_commit_id":"653e1944f889b5763bfc47ef3883c804a7025d5a","user":{"login":"elhu","id":578161,"avatar_url":"https://avatars.githubusercontent.com/u/578161?v=3","gravatar_id":"","url":"https://api.github.com/users/elhu","html_url":"https://github.com/elhu","followers_url":"https://api.github.com/users/elhu/followers","following_url":"https://api.github.com/users/elhu/following{/other_user}","gists_url":"https://api.github.com/users/elhu/gists{/gist_id}","starred_url":"https://api.github.com/users/elhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elhu/subscriptions","organizations_url":"https://api.github.com/users/elhu/orgs","repos_url":"https://api.github.com/users/elhu/repos","events_url":"https://api.github.com/users/elhu/events{/privacy}","received_events_url":"https://api.github.com/users/elhu/received_events","type":"User","site_admin":false},"body":"Fixed. I don't know why, I thought Android Studio took care of that by itself.","created_at":"2015-09-25T09:33:24Z","updated_at":"2015-09-25T09:33:24Z","html_url":"https://github.com/dimelo/Dimelo-Android-SampleApp/pull/1#discussion_r40413714","pull_request_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/pulls/comments/40413714"},"html":{"href":"https://github.com/dimelo/Dimelo-Android-SampleApp/pull/1#discussion_r40413714"},"pull_request":{"href":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/pulls/1","id":45796861,"html_url":"https://github.com/dimelo/Dimelo-Android-SampleApp/pull/1","diff_url":"https://github.com/dimelo/Dimelo-Android-SampleApp/pull/1.diff","patch_url":"https://github.com/dimelo/Dimelo-Android-SampleApp/pull/1.patch","issue_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/issues/1","number":1,"state":"open","locked":false,"title":"Better authinfo example","user":{"login":"elhu","id":578161,"avatar_url":"https://avatars.githubusercontent.com/u/578161?v=3","gravatar_id":"","url":"https://api.github.com/users/elhu","html_url":"https://github.com/elhu","followers_url":"https://api.github.com/users/elhu/followers","following_url":"https://api.github.com/users/elhu/following{/other_user}","gists_url":"https://api.github.com/users/elhu/gists{/gist_id}","starred_url":"https://api.github.com/users/elhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elhu/subscriptions","organizations_url":"https://api.github.com/users/elhu/orgs","repos_url":"https://api.github.com/users/elhu/repos","events_url":"https://api.github.com/users/elhu/events{/privacy}","received_events_url":"https://api.github.com/users/elhu/received_events","type":"User","site_admin":false},"body":"This PR adds a more explicit example on how to provide data regarding the user, notably:\r\n* `userName`\r\n* `userIdentifier`\r\n* `authenticationInfo`\r\n\r\nTo be noted: I had to change the declaration of the background registration task (`app/src/main/java/com/dimelo/sampleapp/MainActivity.java:117`) for the app to compile. This should probably be tested in another environment before being merged in master.","created_at":"2015-09-23T15:54:21Z","updated_at":"2015-09-25T09:33:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"20cc263e2f0bc3d23201891df5f9892dcb68317b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/pulls/1/commits","review_comments_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/pulls/1/comments","review_comment_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/issues/1/comments","statuses_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/statuses/4524e47c6af7b8a27cbbd662c5d3156bc58f26fa","head":{"label":"dimelo:better-authinfo-example","ref":"better-authinfo-example","sha":"4524e47c6af7b8a27cbbd662c5d3156bc58f26fa","user":{"login":"dimelo","id":313756,"avatar_url":"https://avatars.githubusercontent.com/u/313756?v=3","gravatar_id":"","url":"https://api.github.com/users/dimelo","html_url":"https://github.com/dimelo","followers_url":"https://api.github.com/users/dimelo/followers","following_url":"https://api.github.com/users/dimelo/following{/other_user}","gists_url":"https://api.github.com/users/dimelo/gists{/gist_id}","starred_url":"https://api.github.com/users/dimelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimelo/subscriptions","organizations_url":"https://api.github.com/users/dimelo/orgs","repos_url":"https://api.github.com/users/dimelo/repos","events_url":"https://api.github.com/users/dimelo/events{/privacy}","received_events_url":"https://api.github.com/users/dimelo/received_events","type":"Organization","site_admin":false},"repo":{"id":37334069,"name":"Dimelo-Android-SampleApp","full_name":"dimelo/Dimelo-Android-SampleApp","owner":{"login":"dimelo","id":313756,"avatar_url":"https://avatars.githubusercontent.com/u/313756?v=3","gravatar_id":"","url":"https://api.github.com/users/dimelo","html_url":"https://github.com/dimelo","followers_url":"https://api.github.com/users/dimelo/followers","following_url":"https://api.github.com/users/dimelo/following{/other_user}","gists_url":"https://api.github.com/users/dimelo/gists{/gist_id}","starred_url":"https://api.github.com/users/dimelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimelo/subscriptions","organizations_url":"https://api.github.com/users/dimelo/orgs","repos_url":"https://api.github.com/users/dimelo/repos","events_url":"https://api.github.com/users/dimelo/events{/privacy}","received_events_url":"https://api.github.com/users/dimelo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dimelo/Dimelo-Android-SampleApp","description":"Sample App using Dimelo Mobile Messaging Android SDK","fork":false,"url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp","forks_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/forks","keys_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/teams","hooks_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/hooks","issue_events_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/issues/events{/number}","events_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/events","assignees_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/assignees{/user}","branches_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/branches{/branch}","tags_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/tags","blobs_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/statuses/{sha}","languages_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/languages","stargazers_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/stargazers","contributors_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/contributors","subscribers_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/subscribers","subscription_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/subscription","commits_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/contents/{+path}","compare_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/merges","archive_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/downloads","issues_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/issues{/number}","pulls_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/pulls{/number}","milestones_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/milestones{/number}","notifications_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/labels{/name}","releases_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/releases{/id}","created_at":"2015-06-12T17:02:43Z","updated_at":"2015-07-07T22:14:07Z","pushed_at":"2015-09-25T09:32:30Z","git_url":"git://github.com/dimelo/Dimelo-Android-SampleApp.git","ssh_url":"git@github.com:dimelo/Dimelo-Android-SampleApp.git","clone_url":"https://github.com/dimelo/Dimelo-Android-SampleApp.git","svn_url":"https://github.com/dimelo/Dimelo-Android-SampleApp","homepage":null,"size":9670,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"dimelo:master","ref":"master","sha":"23dda16271aacd0abbe02795b0758789d5024415","user":{"login":"dimelo","id":313756,"avatar_url":"https://avatars.githubusercontent.com/u/313756?v=3","gravatar_id":"","url":"https://api.github.com/users/dimelo","html_url":"https://github.com/dimelo","followers_url":"https://api.github.com/users/dimelo/followers","following_url":"https://api.github.com/users/dimelo/following{/other_user}","gists_url":"https://api.github.com/users/dimelo/gists{/gist_id}","starred_url":"https://api.github.com/users/dimelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimelo/subscriptions","organizations_url":"https://api.github.com/users/dimelo/orgs","repos_url":"https://api.github.com/users/dimelo/repos","events_url":"https://api.github.com/users/dimelo/events{/privacy}","received_events_url":"https://api.github.com/users/dimelo/received_events","type":"Organization","site_admin":false},"repo":{"id":37334069,"name":"Dimelo-Android-SampleApp","full_name":"dimelo/Dimelo-Android-SampleApp","owner":{"login":"dimelo","id":313756,"avatar_url":"https://avatars.githubusercontent.com/u/313756?v=3","gravatar_id":"","url":"https://api.github.com/users/dimelo","html_url":"https://github.com/dimelo","followers_url":"https://api.github.com/users/dimelo/followers","following_url":"https://api.github.com/users/dimelo/following{/other_user}","gists_url":"https://api.github.com/users/dimelo/gists{/gist_id}","starred_url":"https://api.github.com/users/dimelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimelo/subscriptions","organizations_url":"https://api.github.com/users/dimelo/orgs","repos_url":"https://api.github.com/users/dimelo/repos","events_url":"https://api.github.com/users/dimelo/events{/privacy}","received_events_url":"https://api.github.com/users/dimelo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dimelo/Dimelo-Android-SampleApp","description":"Sample App using Dimelo Mobile Messaging Android SDK","fork":false,"url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp","forks_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/forks","keys_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/teams","hooks_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/hooks","issue_events_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/issues/events{/number}","events_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/events","assignees_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/assignees{/user}","branches_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/branches{/branch}","tags_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/tags","blobs_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/statuses/{sha}","languages_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/languages","stargazers_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/stargazers","contributors_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/contributors","subscribers_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/subscribers","subscription_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/subscription","commits_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/contents/{+path}","compare_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/merges","archive_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/downloads","issues_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/issues{/number}","pulls_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/pulls{/number}","milestones_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/milestones{/number}","notifications_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/labels{/name}","releases_url":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/releases{/id}","created_at":"2015-06-12T17:02:43Z","updated_at":"2015-07-07T22:14:07Z","pushed_at":"2015-09-25T09:32:30Z","git_url":"git://github.com/dimelo/Dimelo-Android-SampleApp.git","ssh_url":"git@github.com:dimelo/Dimelo-Android-SampleApp.git","clone_url":"https://github.com/dimelo/Dimelo-Android-SampleApp.git","svn_url":"https://github.com/dimelo/Dimelo-Android-SampleApp","homepage":null,"size":9670,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/pulls/1"},"html":{"href":"https://github.com/dimelo/Dimelo-Android-SampleApp/pull/1"},"issue":{"href":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/issues/1"},"comments":{"href":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/dimelo/Dimelo-Android-SampleApp/statuses/4524e47c6af7b8a27cbbd662c5d3156bc58f26fa"}}}}