leandroseja opened a new issue #532: Camera does not open iOS URL: https://github.com/apache/cordova-plugin-camera/issues/532 # Bug Report Camera.getPicture: source type 1 not available - iOS ## Problem Hello friends, this is the first time. Sorry if I did something wrong. I am using ionic 3 (--type = ionic-angular) My camera was working and I updated some things in my app. That's when the camera stopped working, only ios, in the latest updates. I tried to go back to 4.0.3 and it didn't work out. The photo gallery is working !!! Only the camera to take a picture that has stopped working. Returns I tried on xcode 11.1 and it didn't work either. Error Print: https://prnt.sc/q2jce0 and https://prnt.sc/q2jc8h I tried installing with the commands below I do not know what else to do. Could you help me with that? @ionic-native/camera": "^4.20.0" cordova-plugin-camera: 4.0.3 ionic cordova plugin add cordova-plugin-camera npm install --save @ionic-native/camera@4 ionic cordova plugin add https://github.com/spoonconsulting/cordova-plugin-camera.git npm install --save @ionic-native/camera@4 ionic cordova plugin add cordova-plugin-camera npm install --save @ionic-native/camera@ ### What is expected to happen? Open iOS Camera ### What does actually happen? Does not open and return error message Camera.getPicture: source type 1 not available. ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> ### Command or Code <!-- What command or code is needed to reproduce the problem? --> const options: CameraOptions = { quality: 60, destinationType: this.camera.DestinationType.DATA_URL, encodingType: this.camera.EncodingType.JPEG, mediaType: this.camera.MediaType.PICTURE, sourceType : this.camera.PictureSourceType.CAMERA, // I tested removing this line targetWidth: 500, saveToPhotoAlbum: false, correctOrientation:true } this.camera.getPicture(options).then((imageData) => { this.base64 = 'data:image/jpeg;base64,' + imageData; }, (err) => { // Handle error console.log(err); }); ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> XCODE 10.1 Ionic: Ionic CLI : 5.4.9 (/usr/local/lib/node_modules/ionic) Ionic Framework : ionic-angular 3.9.5 @ionic/app-scripts : 3.2.2 Cordova: Cordova CLI : 9.0.0 ([email protected]) Cordova Platforms : ios 5.1.0 Cordova Plugins : cordova-plugin-camera 4.1.1-dev "Camera" cordova-plugin-device 2.0.2 "Device" cordova-plugin-dialogs 2.0.2 "Notification" cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard" cordova-plugin-ionic-webview 4.1.3 "cordova-plugin-ionic-webview" cordova-plugin-splashscreen 5.0.2 "Splashscreen" cordova-plugin-statusbar 2.4.2 "StatusBar" cordova-plugin-whitelist 1.3.3 "Whitelist" cordova.plugins.diagnostic 5.0.1 "Diagnostic" Utility: cordova-res : not installed native-run : not installed System: NodeJS : v11.12.0 (/usr/local/Cellar/node/11.12.0/bin/node) npm : 4.6.1 OS : macOS High Sierra ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [x] I searched for existing GitHub issues - [x] I updated all Cordova tooling to most recent version - [x] I included all the necessary information above  
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
