simetin commented on issue #601: URL: https://github.com/apache/cordova-plugin-camera/issues/601#issuecomment-631634313
I've made a repo to show the issue: [https://github.com/simetin/cordova-camera-plugin-issue-demo](https://github.com/simetin/cordova-camera-plugin-issue-demo) Here are the steps I did to create the demo: 1. I've simply started a new ionic project 2. Installed Android 8.1.0 3. Installed Cordova-plugin-camera 4.2.0 from Github 4. Installed @ionic-native/camera 5. Added the code provided by Ionic: ``` openCamera() { const options: CameraOptions = { quality: 100, destinationType: this.camera.DestinationType.FILE_URI, encodingType: this.camera.EncodingType.JPEG, mediaType: this.camera.MediaType.PICTURE } this.camera.getPicture(options).then((imageData) => { console.log(imageData); }, (err) => { console.log(err); }); } ``` Is there anything else that you want me to provide you ? Thanks ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
