{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/2290","labels_url":"https://api.github.com/repos/facebook/react-native/issues/2290/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/2290/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/2290/events","html_url":"https://github.com/facebook/react-native/issues/2290","id":100227680,"number":2290,"title":"[PushNotificationIOS] Unable to request permission","user":{"login":"NishanthShankar","id":7898607,"avatar_url":"https://avatars.githubusercontent.com/u/7898607?v=3","gravatar_id":"","url":"https://api.github.com/users/NishanthShankar","html_url":"https://github.com/NishanthShankar","followers_url":"https://api.github.com/users/NishanthShankar/followers","following_url":"https://api.github.com/users/NishanthShankar/following{/other_user}","gists_url":"https://api.github.com/users/NishanthShankar/gists{/gist_id}","starred_url":"https://api.github.com/users/NishanthShankar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NishanthShankar/subscriptions","organizations_url":"https://api.github.com/users/NishanthShankar/orgs","repos_url":"https://api.github.com/users/NishanthShankar/repos","events_url":"https://api.github.com/users/NishanthShankar/events{/privacy}","received_events_url":"https://api.github.com/users/NishanthShankar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-11T05:08:29Z","updated_at":"2015-08-12T06:13:23Z","closed_at":null,"body":"I get the error `registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later.`\r\n\r\nI am able to request permissions if i change \r\n\r\n#if __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_8_0 \r\nto\r\n#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_8_0\r\n\r\nLine no: 141 in 8.0\r\nLine no 155 in current master\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/130182231","html_url":"https://github.com/facebook/react-native/issues/2290#issuecomment-130182231","issue_url":"https://api.github.com/repos/facebook/react-native/issues/2290","id":130182231,"user":{"login":"potsypantsy","id":11342858,"avatar_url":"https://avatars.githubusercontent.com/u/11342858?v=3","gravatar_id":"","url":"https://api.github.com/users/potsypantsy","html_url":"https://github.com/potsypantsy","followers_url":"https://api.github.com/users/potsypantsy/followers","following_url":"https://api.github.com/users/potsypantsy/following{/other_user}","gists_url":"https://api.github.com/users/potsypantsy/gists{/gist_id}","starred_url":"https://api.github.com/users/potsypantsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/potsypantsy/subscriptions","organizations_url":"https://api.github.com/users/potsypantsy/orgs","repos_url":"https://api.github.com/users/potsypantsy/repos","events_url":"https://api.github.com/users/potsypantsy/events{/privacy}","received_events_url":"https://api.github.com/users/potsypantsy/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T06:13:23Z","updated_at":"2015-08-12T06:13:23Z","body":"@NishanthShankar I tried making a pr for this earlier today. However, I am unable to get the tests to pass :( https://github.com/facebook/react-native/pull/2302"}}