{"action":"created","issue":{"url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/286","repository_url":"https://api.github.com/repos/rt2zz/react-native-contacts","labels_url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/286/comments","events_url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/286/events","html_url":"https://github.com/rt2zz/react-native-contacts/issues/286","id":314713170,"node_id":"MDU6SXNzdWUzMTQ3MTMxNzA=","number":286,"title":"Crash Android requestPermission","user":{"login":"robertobrogi","id":34241295,"node_id":"MDQ6VXNlcjM0MjQxMjk1","avatar_url":"https://avatars0.githubusercontent.com/u/34241295?v=4","gravatar_id":"","url":"https://api.github.com/users/robertobrogi","html_url":"https://github.com/robertobrogi","followers_url":"https://api.github.com/users/robertobrogi/followers","following_url":"https://api.github.com/users/robertobrogi/following{/other_user}","gists_url":"https://api.github.com/users/robertobrogi/gists{/gist_id}","starred_url":"https://api.github.com/users/robertobrogi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertobrogi/subscriptions","organizations_url":"https://api.github.com/users/robertobrogi/orgs","repos_url":"https://api.github.com/users/robertobrogi/repos","events_url":"https://api.github.com/users/robertobrogi/events{/privacy}","received_events_url":"https://api.github.com/users/robertobrogi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-16T15:44:38Z","updated_at":"2018-11-15T13:01:16Z","closed_at":null,"author_association":"NONE","body":"Hi All,\r\nI have  a big problem in Android 7.0 and 8.0.0 when i ask the permission. \r\nwhen i opne the screen, the popup with request is correct but when i tap Allow there is a crash for time out...\r\n\r\nthis is the code: \r\n\r\n```es\r\ncomponentWillMount() {\r\n        Contacts.checkPermission((err, response) => {\r\n            if (response === 'denied') {\r\n                Contacts.requestPermission((err, res) => {\r\n                    console.log('ERROR', err);\r\n                    console.log('GRANTED', res);\r\n                })\r\n            }\r\n        })\r\n    }\r\n```\r\n\r\nyou know which is the problem ?\r\n\r\nthanks a lot\r\n"},"comment":{"url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/comments/439032317","html_url":"https://github.com/rt2zz/react-native-contacts/issues/286#issuecomment-439032317","issue_url":"https://api.github.com/repos/rt2zz/react-native-contacts/issues/286","id":439032317,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTAzMjMxNw==","user":{"login":"felansu","id":1687697,"node_id":"MDQ6VXNlcjE2ODc2OTc=","avatar_url":"https://avatars3.githubusercontent.com/u/1687697?v=4","gravatar_id":"","url":"https://api.github.com/users/felansu","html_url":"https://github.com/felansu","followers_url":"https://api.github.com/users/felansu/followers","following_url":"https://api.github.com/users/felansu/following{/other_user}","gists_url":"https://api.github.com/users/felansu/gists{/gist_id}","starred_url":"https://api.github.com/users/felansu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felansu/subscriptions","organizations_url":"https://api.github.com/users/felansu/orgs","repos_url":"https://api.github.com/users/felansu/repos","events_url":"https://api.github.com/users/felansu/events{/privacy}","received_events_url":"https://api.github.com/users/felansu/received_events","type":"User","site_admin":false},"created_at":"2018-11-15T13:01:16Z","updated_at":"2018-11-15T13:01:16Z","author_association":"NONE","body":"@stefanedberg this doesn't works in android sdk 22."}}
{"actor":{"display_login":"felansu"}}