{"action":"opened","issue":{"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/348","repository_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase","labels_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/348/labels{/name}","comments_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/348/comments","events_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/348/events","html_url":"https://github.com/arnesson/cordova-plugin-firebase/issues/348","id":242077896,"number":348,"title":"window.FirebasePlugin.grantPermission() issue","user":{"login":"rolinger","id":12155401,"avatar_url":"https://avatars3.githubusercontent.com/u/12155401?v=3","gravatar_id":"","url":"https://api.github.com/users/rolinger","html_url":"https://github.com/rolinger","followers_url":"https://api.github.com/users/rolinger/followers","following_url":"https://api.github.com/users/rolinger/following{/other_user}","gists_url":"https://api.github.com/users/rolinger/gists{/gist_id}","starred_url":"https://api.github.com/users/rolinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolinger/subscriptions","organizations_url":"https://api.github.com/users/rolinger/orgs","repos_url":"https://api.github.com/users/rolinger/repos","events_url":"https://api.github.com/users/rolinger/events{/privacy}","received_events_url":"https://api.github.com/users/rolinger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-11T14:55:52Z","updated_at":"2017-07-11T14:55:52Z","closed_at":null,"body":"On iOS I am able to get the grantPermission to work, but there doesn't seem to be a proper success/error callback associated with it.  When I do:\r\n\r\nwindow.FirebasePlugin.grantPermission(function(success) {\r\n     console.log(success) ;\r\n}, function(error) {\r\n     console.log(error) ;\r\n});\r\n\r\nmy console spits out: null regardless if I permit or deny the permission.\r\n\r\nAs well, I am looking for a method with grantPermission that will halt app while the user Permits or Denies the permission request....currently the grantPermission pops up a window but my app continues to initialize in the background...but I need to capture that Permit/Deny before allowing the app to continue to initialize.  Other init features are based on the user's selection."}}
{"actor":{"display_login":"rolinger"}}