{"action":"opened","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/24047","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/24047/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/24047/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/24047/events","html_url":"https://github.com/flutter/flutter/issues/24047","id":378212416,"node_id":"MDU6SXNzdWUzNzgyMTI0MTY=","number":24047,"title":"Add API to support fetching current notification setting","user":{"login":"bood","id":1168942,"node_id":"MDQ6VXNlcjExNjg5NDI=","avatar_url":"https://avatars3.githubusercontent.com/u/1168942?v=4","gravatar_id":"","url":"https://api.github.com/users/bood","html_url":"https://github.com/bood","followers_url":"https://api.github.com/users/bood/followers","following_url":"https://api.github.com/users/bood/following{/other_user}","gists_url":"https://api.github.com/users/bood/gists{/gist_id}","starred_url":"https://api.github.com/users/bood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bood/subscriptions","organizations_url":"https://api.github.com/users/bood/orgs","repos_url":"https://api.github.com/users/bood/repos","events_url":"https://api.github.com/users/bood/events{/privacy}","received_events_url":"https://api.github.com/users/bood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-07T09:47:10Z","updated_at":"2018-11-07T09:47:10Z","closed_at":null,"author_association":"NONE","body":"Current firebase_messaging package only support get the notification setting after client called `requestNotificationPermissions`. But our project wants to know the setting before the system prompt, so that we do not have to show the permission page if user already grant us the permission.\r\n\r\nIt looks like below API on iOS:\r\nhttps://developer.apple.com/documentation/uikit/uiapplication/1623092-currentusernotificationsettings?language=objc"}}
{"actor":{"display_login":"bood"}}