Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-14269

Can't stop images from getting picked up Samsung Cloud

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cordova-plugin-camera
    • None
    • Mac, running Phonegap 8.0.0 , Camera plugin 4.0.3, compiling on Android SDK 26.

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbybrad Matthew Bradley
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: