{"action":"created","issue":{"url":"https://api.github.com/repos/edufolly/flutter_mobile_vision/issues/7","repository_url":"https://api.github.com/repos/edufolly/flutter_mobile_vision","labels_url":"https://api.github.com/repos/edufolly/flutter_mobile_vision/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/edufolly/flutter_mobile_vision/issues/7/comments","events_url":"https://api.github.com/repos/edufolly/flutter_mobile_vision/issues/7/events","html_url":"https://github.com/edufolly/flutter_mobile_vision/issues/7","id":335280851,"node_id":"MDU6SXNzdWUzMzUyODA4NTE=","number":7,"title":"Crash when the permission is not granted on Android","user":{"login":"g123k","id":246838,"node_id":"MDQ6VXNlcjI0NjgzOA==","avatar_url":"https://avatars1.githubusercontent.com/u/246838?v=4","gravatar_id":"","url":"https://api.github.com/users/g123k","html_url":"https://github.com/g123k","followers_url":"https://api.github.com/users/g123k/followers","following_url":"https://api.github.com/users/g123k/following{/other_user}","gists_url":"https://api.github.com/users/g123k/gists{/gist_id}","starred_url":"https://api.github.com/users/g123k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g123k/subscriptions","organizations_url":"https://api.github.com/users/g123k/orgs","repos_url":"https://api.github.com/users/g123k/repos","events_url":"https://api.github.com/users/g123k/events{/privacy}","received_events_url":"https://api.github.com/users/g123k/received_events","type":"User","site_admin":false},"labels":[{"id":910102472,"node_id":"MDU6TGFiZWw5MTAxMDI0NzI=","url":"https://api.github.com/repos/edufolly/flutter_mobile_vision/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-25T06:55:43Z","updated_at":"2018-07-08T21:21:22Z","closed_at":"2018-07-08T21:21:22Z","author_association":"CONTRIBUTOR","body":"Hello,\r\n\r\nOn Android, the first time the application is opened (or if the camera permission is never granted), the app will crash.\r\n\r\nIn the `onActivityResult` method, if the `resultCode` is an error, you are never checking if the intent is null. In the case where the permission is not granted, the intent is null, so the app will crash."},"comment":{"url":"https://api.github.com/repos/edufolly/flutter_mobile_vision/issues/comments/403318135","html_url":"https://github.com/edufolly/flutter_mobile_vision/issues/7#issuecomment-403318135","issue_url":"https://api.github.com/repos/edufolly/flutter_mobile_vision/issues/7","id":403318135,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzMxODEzNQ==","user":{"login":"edufolly","id":1471193,"node_id":"MDQ6VXNlcjE0NzExOTM=","avatar_url":"https://avatars2.githubusercontent.com/u/1471193?v=4","gravatar_id":"","url":"https://api.github.com/users/edufolly","html_url":"https://github.com/edufolly","followers_url":"https://api.github.com/users/edufolly/followers","following_url":"https://api.github.com/users/edufolly/following{/other_user}","gists_url":"https://api.github.com/users/edufolly/gists{/gist_id}","starred_url":"https://api.github.com/users/edufolly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edufolly/subscriptions","organizations_url":"https://api.github.com/users/edufolly/orgs","repos_url":"https://api.github.com/users/edufolly/repos","events_url":"https://api.github.com/users/edufolly/events{/privacy}","received_events_url":"https://api.github.com/users/edufolly/received_events","type":"User","site_admin":false},"created_at":"2018-07-08T21:21:22Z","updated_at":"2018-07-08T21:21:22Z","author_association":"OWNER","body":"Fixed in version 0.1.1"}}
{"actor":{"display_login":"edufolly"}}