You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Matthew Bradley (JIRA)" <ji...@apache.org> on 2018/08/15 15:57:00 UTC

[jira] [Created] (CB-14269) Can't stop images from getting picked up Samsung Cloud

Matthew Bradley created CB-14269:
------------------------------------

             Summary: Can't stop images from getting picked up Samsung Cloud
                 Key: CB-14269
                 URL: https://issues.apache.org/jira/browse/CB-14269
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-camera
         Environment: Mac, running Phonegap 8.0.0 , Camera plugin 4.0.3, compiling on Android SDK 26.
            Reporter: Matthew Bradley


When using the camera plugin (version 4.0.3) - even when you set the options as below:

 
navigator.camera.getPicture(appHandler.listPhoto, appHandler.photoFail, {
quality: 80,
saveToPhotoAlbum: false,
PictureSourceType: Camera.PictureSourceType.CAMERA,
destinationType: Camera.DestinationType.DATA_URL,
encodingType: Camera.EncodingType.JPEG
});
 
with savetophotoalbum to false - I am finding the image can sometimes still appear in the photo gallery for samsung devices (tested on several Samsung G8 handhelds). This isn't an issue for other android handsets.
I think I know what the problem is though - Samsung Cloud is getting the image during the above call and duplicates it in the background for Cloud backup. The original image data is still deleted as per the checkForDuplicateImage function within the plugin code but the gallery app on the device is picking up the Samsung cloud version that it duplicated in-between calling the getPicture process. 

Its important to stop it from happening as many of our customers use this feature on our Cordova app and they are all upgrading to Samsung devices.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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