{"action":"opened","issue":{"url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/1067","repository_url":"https://api.github.com/repos/react-native-community/react-native-camera","labels_url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/1067/labels{/name}","comments_url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/1067/comments","events_url":"https://api.github.com/repos/react-native-community/react-native-camera/issues/1067/events","html_url":"https://github.com/react-native-community/react-native-camera/issues/1067","id":285258036,"number":1067,"title":"Сapture promise never resolves on Android.","user":{"login":"VTSingle","id":26880406,"avatar_url":"https://avatars3.githubusercontent.com/u/26880406?v=4","gravatar_id":"","url":"https://api.github.com/users/VTSingle","html_url":"https://github.com/VTSingle","followers_url":"https://api.github.com/users/VTSingle/followers","following_url":"https://api.github.com/users/VTSingle/following{/other_user}","gists_url":"https://api.github.com/users/VTSingle/gists{/gist_id}","starred_url":"https://api.github.com/users/VTSingle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VTSingle/subscriptions","organizations_url":"https://api.github.com/users/VTSingle/orgs","repos_url":"https://api.github.com/users/VTSingle/repos","events_url":"https://api.github.com/users/VTSingle/events{/privacy}","received_events_url":"https://api.github.com/users/VTSingle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-31T13:40:46Z","updated_at":"2017-12-31T13:40:46Z","closed_at":null,"author_association":"NONE","body":"Body: \r\nusing the example from github \r\n\r\ntakePicture() {\r\n    const options = {};\r\n    this.camera.capture({metadata: options})\r\n      .then((data) => console.log(data))\r\n      .catch(err => console.error(err));\r\n  }\r\n\r\nInvoking takePicture function on some Android devices triggers neither 'then' nor 'catch' callbeck. \r\nThe problem is faced on xiaomi and Meizu phones. Permissions for camera use were added to AndroisManifest. \r\nInterestingly, but in debug mode this problem doesn't happen. \r\n\r\nOn Samsung S8, after some times of using camera capture the application is crashed."}}
{"actor":{"display_login":"VTSingle"}}