{"action":"opened","number":919,"pull_request":{"url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/pulls/919","id":217773116,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3NzczMTE2","html_url":"https://github.com/EddyVerbruggen/nativescript-plugin-firebase/pull/919","diff_url":"https://github.com/EddyVerbruggen/nativescript-plugin-firebase/pull/919.diff","patch_url":"https://github.com/EddyVerbruggen/nativescript-plugin-firebase/pull/919.patch","issue_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/issues/919","number":919,"state":"open","locked":false,"title":"Storing additional user info as local state","user":{"login":"vratojr","id":1368836,"node_id":"MDQ6VXNlcjEzNjg4MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1368836?v=4","gravatar_id":"","url":"https://api.github.com/users/vratojr","html_url":"https://github.com/vratojr","followers_url":"https://api.github.com/users/vratojr/followers","following_url":"https://api.github.com/users/vratojr/following{/other_user}","gists_url":"https://api.github.com/users/vratojr/gists{/gist_id}","starred_url":"https://api.github.com/users/vratojr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vratojr/subscriptions","organizations_url":"https://api.github.com/users/vratojr/orgs","repos_url":"https://api.github.com/users/vratojr/repos","events_url":"https://api.github.com/users/vratojr/events{/privacy}","received_events_url":"https://api.github.com/users/vratojr/received_events","type":"User","site_admin":false},"body":"Hello Eddy, since I didn't have any news from your side, I tryed to solve the problem my way :)\r\n\r\nAs stated in #903, additionalUserInfo are not retrieved when calling getCurrentUser using nativeAPI.\r\nSo in this approach I try to mimick what is being done for the web api, that is, storing the additional info as a global object and returning it when asked for.\r\n\r\nAndroid only.\r\n","created_at":"2018-09-24T20:08:59Z","updated_at":"2018-09-24T20:08:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/pulls/919/commits","review_comments_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/pulls/919/comments","review_comment_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/issues/919/comments","statuses_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/statuses/a4b2abee05a34dd587c7f6a543d450e6fe159768","head":{"label":"vratojr:master","ref":"master","sha":"a4b2abee05a34dd587c7f6a543d450e6fe159768","user":{"login":"vratojr","id":1368836,"node_id":"MDQ6VXNlcjEzNjg4MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1368836?v=4","gravatar_id":"","url":"https://api.github.com/users/vratojr","html_url":"https://github.com/vratojr","followers_url":"https://api.github.com/users/vratojr/followers","following_url":"https://api.github.com/users/vratojr/following{/other_user}","gists_url":"https://api.github.com/users/vratojr/gists{/gist_id}","starred_url":"https://api.github.com/users/vratojr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vratojr/subscriptions","organizations_url":"https://api.github.com/users/vratojr/orgs","repos_url":"https://api.github.com/users/vratojr/repos","events_url":"https://api.github.com/users/vratojr/events{/privacy}","received_events_url":"https://api.github.com/users/vratojr/received_events","type":"User","site_admin":false},"repo":{"id":148214288,"node_id":"MDEwOlJlcG9zaXRvcnkxNDgyMTQyODg=","name":"nativescript-plugin-firebase","full_name":"vratojr/nativescript-plugin-firebase","private":false,"owner":{"login":"vratojr","id":1368836,"node_id":"MDQ6VXNlcjEzNjg4MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1368836?v=4","gravatar_id":"","url":"https://api.github.com/users/vratojr","html_url":"https://github.com/vratojr","followers_url":"https://api.github.com/users/vratojr/followers","following_url":"https://api.github.com/users/vratojr/following{/other_user}","gists_url":"https://api.github.com/users/vratojr/gists{/gist_id}","starred_url":"https://api.github.com/users/vratojr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vratojr/subscriptions","organizations_url":"https://api.github.com/users/vratojr/orgs","repos_url":"https://api.github.com/users/vratojr/repos","events_url":"https://api.github.com/users/vratojr/events{/privacy}","received_events_url":"https://api.github.com/users/vratojr/received_events","type":"User","site_admin":false},"html_url":"https://github.com/vratojr/nativescript-plugin-firebase","description":":fire: NativeScript plugin for Firebase, the leading realtime JSON :cloud: app platform","fork":true,"url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase","forks_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/forks","keys_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/teams","hooks_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/hooks","issue_events_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/issues/events{/number}","events_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/events","assignees_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/assignees{/user}","branches_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/branches{/branch}","tags_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/tags","blobs_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/git/refs{/sha}","trees_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/statuses/{sha}","languages_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/languages","stargazers_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/stargazers","contributors_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/contributors","subscribers_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/subscribers","subscription_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/subscription","commits_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/commits{/sha}","git_commits_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/git/commits{/sha}","comments_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/comments{/number}","issue_comment_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/issues/comments{/number}","contents_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/contents/{+path}","compare_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/merges","archive_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/downloads","issues_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/issues{/number}","pulls_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/pulls{/number}","milestones_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/milestones{/number}","notifications_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/labels{/name}","releases_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/releases{/id}","deployments_url":"https://api.github.com/repos/vratojr/nativescript-plugin-firebase/deployments","created_at":"2018-09-10T20:22:15Z","updated_at":"2018-09-24T20:08:26Z","pushed_at":"2018-09-24T20:08:25Z","git_url":"git://github.com/vratojr/nativescript-plugin-firebase.git","ssh_url":"git@github.com:vratojr/nativescript-plugin-firebase.git","clone_url":"https://github.com/vratojr/nativescript-plugin-firebase.git","svn_url":"https://github.com/vratojr/nativescript-plugin-firebase","homepage":"https://firebase.google.com","size":19642,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"EddyVerbruggen:master","ref":"master","sha":"5a7414a9927bf991951db49479a7c6fd46d18d06","user":{"login":"EddyVerbruggen","id":1426370,"node_id":"MDQ6VXNlcjE0MjYzNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/1426370?v=4","gravatar_id":"","url":"https://api.github.com/users/EddyVerbruggen","html_url":"https://github.com/EddyVerbruggen","followers_url":"https://api.github.com/users/EddyVerbruggen/followers","following_url":"https://api.github.com/users/EddyVerbruggen/following{/other_user}","gists_url":"https://api.github.com/users/EddyVerbruggen/gists{/gist_id}","starred_url":"https://api.github.com/users/EddyVerbruggen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EddyVerbruggen/subscriptions","organizations_url":"https://api.github.com/users/EddyVerbruggen/orgs","repos_url":"https://api.github.com/users/EddyVerbruggen/repos","events_url":"https://api.github.com/users/EddyVerbruggen/events{/privacy}","received_events_url":"https://api.github.com/users/EddyVerbruggen/received_events","type":"User","site_admin":false},"repo":{"id":46665106,"node_id":"MDEwOlJlcG9zaXRvcnk0NjY2NTEwNg==","name":"nativescript-plugin-firebase","full_name":"EddyVerbruggen/nativescript-plugin-firebase","private":false,"owner":{"login":"EddyVerbruggen","id":1426370,"node_id":"MDQ6VXNlcjE0MjYzNzA=","avatar_url":"https://avatars1.githubusercontent.com/u/1426370?v=4","gravatar_id":"","url":"https://api.github.com/users/EddyVerbruggen","html_url":"https://github.com/EddyVerbruggen","followers_url":"https://api.github.com/users/EddyVerbruggen/followers","following_url":"https://api.github.com/users/EddyVerbruggen/following{/other_user}","gists_url":"https://api.github.com/users/EddyVerbruggen/gists{/gist_id}","starred_url":"https://api.github.com/users/EddyVerbruggen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EddyVerbruggen/subscriptions","organizations_url":"https://api.github.com/users/EddyVerbruggen/orgs","repos_url":"https://api.github.com/users/EddyVerbruggen/repos","events_url":"https://api.github.com/users/EddyVerbruggen/events{/privacy}","received_events_url":"https://api.github.com/users/EddyVerbruggen/received_events","type":"User","site_admin":false},"html_url":"https://github.com/EddyVerbruggen/nativescript-plugin-firebase","description":":fire: NativeScript plugin for Firebase, the leading realtime JSON :cloud: app platform","fork":false,"url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase","forks_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/forks","keys_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/teams","hooks_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/hooks","issue_events_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/issues/events{/number}","events_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/events","assignees_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/assignees{/user}","branches_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/branches{/branch}","tags_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/tags","blobs_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/git/refs{/sha}","trees_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/statuses/{sha}","languages_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/languages","stargazers_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/stargazers","contributors_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/contributors","subscribers_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/subscribers","subscription_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/subscription","commits_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/commits{/sha}","git_commits_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/git/commits{/sha}","comments_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/comments{/number}","issue_comment_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/issues/comments{/number}","contents_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/contents/{+path}","compare_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/merges","archive_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/downloads","issues_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/issues{/number}","pulls_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/pulls{/number}","milestones_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/milestones{/number}","notifications_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/labels{/name}","releases_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/releases{/id}","deployments_url":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/deployments","created_at":"2015-11-22T14:54:52Z","updated_at":"2018-09-24T16:58:47Z","pushed_at":"2018-09-24T19:36:29Z","git_url":"git://github.com/EddyVerbruggen/nativescript-plugin-firebase.git","ssh_url":"git@github.com:EddyVerbruggen/nativescript-plugin-firebase.git","clone_url":"https://github.com/EddyVerbruggen/nativescript-plugin-firebase.git","svn_url":"https://github.com/EddyVerbruggen/nativescript-plugin-firebase","homepage":"https://firebase.google.com","size":20268,"stargazers_count":537,"watchers_count":537,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":199,"mirror_url":null,"archived":false,"open_issues_count":232,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":199,"open_issues":232,"watchers":537,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/pulls/919"},"html":{"href":"https://github.com/EddyVerbruggen/nativescript-plugin-firebase/pull/919"},"issue":{"href":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/issues/919"},"comments":{"href":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/issues/919/comments"},"review_comments":{"href":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/pulls/919/comments"},"review_comment":{"href":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/pulls/919/commits"},"statuses":{"href":"https://api.github.com/repos/EddyVerbruggen/nativescript-plugin-firebase/statuses/a4b2abee05a34dd587c7f6a543d450e6fe159768"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":154,"deletions":148,"changed_files":1}}
{"actor":{"display_login":"vratojr"}}