dtbmobile opened a new issue #730:
URL: https://github.com/apache/cordova-plugin-camera/issues/730
# Bug Report
## Problem
The problem occurs when using the cordova plugin camera call "getPicture"
with the following options:
{
sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
allowEdit: false,
quality: 50,
correctOrientation: true,
destinationType: Camera.DestinationType.DATA_URL,
encodingType: Camera.EncodingType.JPEG,
targetWidth: 1280,
targetHeight: 1280
}
This works as expected when using "Google Photos" but not when using
"Samsung Gallery"
### What is expected to happen?
In the success callback function the selected image should be returned as it
does when using "Google Photos".
### What does actually happen?
When using "Samsung Gallery" an error is returned called "No Image
Selected".
## Information
In Logcat I was able to get the following information:
- status: 9
- callbackId: Camera620893683
### Command or Code
-
### Environment, Platform, Device
Android 11, multiple Samsung Devices
### Version information
cordova v9.0.0
cordova-android v8.0.0
cordova-plugin-camera v4.1.0
## Checklist
- [x] I searched for existing GitHub issues
- [ ] 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]