[
https://issues.apache.org/jira/browse/CB-12270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15874199#comment-15874199
]
Mika Andrianarijaona edited comment on CB-12270 at 2/20/17 8:27 AM:
--------------------------------------------------------------------
I have the same error only when a SD card is used on the device (Android 4.2).
When SD card is removed, everything works fine. When setting saveTOPhotoAlbum
to false, it will also work even when a SD card is inserted.
Our current configuration is:
options = {
quality : 100
destinationType : Camera.DestinationType.FILE_URI
sourceType : Camera.PictureSourceType.CAMERA
allowEdit : false
encodingType: Camera.EncodingType.JPEG
targetWidth: 2048
targetHeight: 1536
popoverOptions: CameraPopoverOptions
saveToPhotoAlbum: true
}
was (Author: mikaoelitiana):
I have the same error only when a SD card is used on the device. When SD card
is removed, everything works fine. When setting saveTOPhotoAlbum to false, it
will also work even when a SD card is inserted.
Our current configuration is:
options = {
quality : 100
destinationType : Camera.DestinationType.FILE_URI
sourceType : Camera.PictureSourceType.CAMERA
allowEdit : false
encodingType: Camera.EncodingType.JPEG
targetWidth: 2048
targetHeight: 1536
popoverOptions: CameraPopoverOptions
saveToPhotoAlbum: true
}
> Getting "Error capturing image" when saveToPhotoAlbum is true on some Android
> devices
> -------------------------------------------------------------------------------------
>
> Key: CB-12270
> URL: https://issues.apache.org/jira/browse/CB-12270
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Camera
> Reporter: Huseyin Candan
>
> I get this error on Samsung Galaxy J2 (SM-J200F) with Android v.5.1.1.
> When I change saveToPhotoAlbum to false, it works.
> According to the user, the issue occurred on device with no change in the
> app. It was working and one day error started. Maybe, Android version is
> updated.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]