s5nicolay-dev opened a new issue, #900:
URL: https://github.com/apache/cordova-plugin-camera/issues/900

   Running fine on Android 10 (API level 29) with cordova Android 13.0.0 on 
Bluebird EF550.
   
   Fails on Android 12 (API level 32) with cordova Android 13.0.0 on Bluebird 
EF551 with error message "**No Image Data**".
   
   The project is a clean cordova HelloWorld project.
   cordova create test
   cordova platform add android
   cordova plugin add cordova-plugin-camera
   cordova build android
    
    
    In console:
    var srcType = Camera.PictureSourceType.CAMERA;
    var options = setOptions(srcType);
   
    function setOptions(srcType) {
        var options = {
            quality: 50,
            destinationType: Camera.DestinationType.FILE_URI,
            sourceType: srcType,
            encodingType: Camera.EncodingType.JPEG,
            mediaType: Camera.MediaType.PICTURE,
            allowEdit: false,
            correctOrientation: true
        }
        return options;
    }
   
    navigator.camera.getPicture(function cameraSuccess(imageUri) {
        console.log("haha yes");
    }, function cameraError(error) {
        console.debug(error);
    }, options);
   
   
   Any suggestions?


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to