{"action":"created","issue":{"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/835","repository_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase","labels_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/835/labels{/name}","comments_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/835/comments","events_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/835/events","html_url":"https://github.com/arnesson/cordova-plugin-firebase/pull/835","id":358268432,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MDgwMDM0","number":835,"title":"Hide iOS push notifications when app is in foreground","user":{"login":"maitscha","id":2729275,"node_id":"MDQ6VXNlcjI3MjkyNzU=","avatar_url":"https://avatars3.githubusercontent.com/u/2729275?v=4","gravatar_id":"","url":"https://api.github.com/users/maitscha","html_url":"https://github.com/maitscha","followers_url":"https://api.github.com/users/maitscha/followers","following_url":"https://api.github.com/users/maitscha/following{/other_user}","gists_url":"https://api.github.com/users/maitscha/gists{/gist_id}","starred_url":"https://api.github.com/users/maitscha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maitscha/subscriptions","organizations_url":"https://api.github.com/users/maitscha/orgs","repos_url":"https://api.github.com/users/maitscha/repos","events_url":"https://api.github.com/users/maitscha/events{/privacy}","received_events_url":"https://api.github.com/users/maitscha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2018-09-08T06:11:10Z","updated_at":"2018-09-28T01:06:04Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/pulls/835","html_url":"https://github.com/arnesson/cordova-plugin-firebase/pull/835","diff_url":"https://github.com/arnesson/cordova-plugin-firebase/pull/835.diff","patch_url":"https://github.com/arnesson/cordova-plugin-firebase/pull/835.patch"},"body":"This hides the push notification in iOS if the app is in foreground by using `UNNotificationPresentationOptionNone` instead of `UNNotificationPresentationOptionAlert` in the completion handler."},"comment":{"url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/comments/425288213","html_url":"https://github.com/arnesson/cordova-plugin-firebase/pull/835#issuecomment-425288213","issue_url":"https://api.github.com/repos/arnesson/cordova-plugin-firebase/issues/835","id":425288213,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTI4ODIxMw==","user":{"login":"laychar","id":42691329,"node_id":"MDQ6VXNlcjQyNjkxMzI5","avatar_url":"https://avatars3.githubusercontent.com/u/42691329?v=4","gravatar_id":"","url":"https://api.github.com/users/laychar","html_url":"https://github.com/laychar","followers_url":"https://api.github.com/users/laychar/followers","following_url":"https://api.github.com/users/laychar/following{/other_user}","gists_url":"https://api.github.com/users/laychar/gists{/gist_id}","starred_url":"https://api.github.com/users/laychar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laychar/subscriptions","organizations_url":"https://api.github.com/users/laychar/orgs","repos_url":"https://api.github.com/users/laychar/repos","events_url":"https://api.github.com/users/laychar/events{/privacy}","received_events_url":"https://api.github.com/users/laychar/received_events","type":"User","site_admin":false},"created_at":"2018-09-28T01:06:04Z","updated_at":"2018-09-28T01:06:04Z","author_association":"NONE","body":"Thank you for your kindness!\nI will try try it more.\n\n2018년 9월 28일 (금) 오전 6:38, Brian Bauman <notifications@github.com>님이 작성:\n\n> @ColDrekken <https://github.com/ColDrekken> I don't know the code\n> intimately, but you can check out FirebasePlugin.m and\n> AppDelegate+FirebasePlugin.m as those two files contain most of the\n> business logic. You should be able to put breakpoints in via XCode and\n> trace what is happening. Sorry I can't be more help\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/arnesson/cordova-plugin-firebase/pull/835#issuecomment-425251389>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AotrAa7fz06NctnHXYEsT0H2uzeHPZU_ks5ufUVHgaJpZM4WfvbT>\n> .\n>\n"}}
{"actor":{"display_login":"laychar"}}