{"action":"opened","issue":{"url":"https://api.github.com/repos/geektimecoil/react-native-onesignal/issues/496","repository_url":"https://api.github.com/repos/geektimecoil/react-native-onesignal","labels_url":"https://api.github.com/repos/geektimecoil/react-native-onesignal/issues/496/labels{/name}","comments_url":"https://api.github.com/repos/geektimecoil/react-native-onesignal/issues/496/comments","events_url":"https://api.github.com/repos/geektimecoil/react-native-onesignal/issues/496/events","html_url":"https://github.com/geektimecoil/react-native-onesignal/issues/496","id":321891394,"number":496,"title":"getPermissionSubscriptionState callback not being called if there is not state ","user":{"login":"frenkelor","id":5159504,"avatar_url":"https://avatars0.githubusercontent.com/u/5159504?v=4","gravatar_id":"","url":"https://api.github.com/users/frenkelor","html_url":"https://github.com/frenkelor","followers_url":"https://api.github.com/users/frenkelor/followers","following_url":"https://api.github.com/users/frenkelor/following{/other_user}","gists_url":"https://api.github.com/users/frenkelor/gists{/gist_id}","starred_url":"https://api.github.com/users/frenkelor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frenkelor/subscriptions","organizations_url":"https://api.github.com/users/frenkelor/orgs","repos_url":"https://api.github.com/users/frenkelor/repos","events_url":"https://api.github.com/users/frenkelor/events{/privacy}","received_events_url":"https://api.github.com/users/frenkelor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-10T10:55:38Z","updated_at":"2018-05-10T10:55:38Z","closed_at":null,"author_association":"NONE","body":"https://github.com/geektimecoil/react-native-onesignal/blob/d8061133cf14b8813badd6b612cb78b58fe44010/android/src/main/java/com/geektime/rnonesignalandroid/RNOneSignal.java#L220\r\n\r\nAs i see is it's better to return a null in the callback or implement failure state instead not calling it at all.\r\nI didn't try it on my phone only on the simulator \r\nI'm running RN 52 with lates OneSignal RN sdk"}}
{"actor":{"display_login":"frenkelor"}}