{"action":"closed","issue":{"url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1775","repository_url":"https://api.github.com/repos/invertase/react-native-firebase","labels_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1775/labels{/name}","comments_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1775/comments","events_url":"https://api.github.com/repos/invertase/react-native-firebase/issues/1775/events","html_url":"https://github.com/invertase/react-native-firebase/issues/1775","id":392915037,"node_id":"MDU6SXNzdWUzOTI5MTUwMzc=","number":1775,"title":"notifications().getInitialNotification never resolves on iOS in release mode","user":{"login":"uuaqarahmed","id":527591,"node_id":"MDQ6VXNlcjUyNzU5MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/527591?v=4","gravatar_id":"","url":"https://api.github.com/users/uuaqarahmed","html_url":"https://github.com/uuaqarahmed","followers_url":"https://api.github.com/users/uuaqarahmed/followers","following_url":"https://api.github.com/users/uuaqarahmed/following{/other_user}","gists_url":"https://api.github.com/users/uuaqarahmed/gists{/gist_id}","starred_url":"https://api.github.com/users/uuaqarahmed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uuaqarahmed/subscriptions","organizations_url":"https://api.github.com/users/uuaqarahmed/orgs","repos_url":"https://api.github.com/users/uuaqarahmed/repos","events_url":"https://api.github.com/users/uuaqarahmed/events{/privacy}","received_events_url":"https://api.github.com/users/uuaqarahmed/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-20T06:56:41Z","updated_at":"2018-12-21T12:59:21Z","closed_at":"2018-12-21T12:59:21Z","author_association":"NONE","body":"## Issue\r\n\r\nIn debug mode the following code runs fine and I can see notification information on iOS:\r\n\r\nconst notificationOpen: NotificationOpen = await firebase.notifications().getInitialNotification();\r\nif (notificationOpen) {\r\n //works fine\r\n}\r\n\r\nHowever, when I change it to release mode, it never resolves and app goes on loading forever. This code is called when app is killed and is launched after tapping on a received notification. \r\n\r\n- **Platform that you're experiencing the issue on**:\r\n  - [x] iOS\r\n  \r\n- **`React Native` version:**\r\n  - `0.57.0`\r\n- **`React Native Firebase` library version:**\r\n  - `5.1.1`\r\n- **`Firebase` module(s) you're using that has the issue:**\r\n  - [x] Notifications"}}
{"actor":{"display_login":"uuaqarahmed"}}