cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omar Mefire (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-10711) getPicture() with NATIVE_URI does a persistent save instead of a temporary one
Date Fri, 26 Feb 2016 21:38:18 GMT

     [ https://issues.apache.org/jira/browse/CB-10711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Omar Mefire updated CB-10711:
-----------------------------
    Description: 
Camera options:
- destinationType: Camera.DestinationType.NATIVE_URI,
- saveToPhotoAlbum: true,
- sourceType: Camera.PictureSourceType.CAMERA,

Situation: getPicture() on iOS should save the newly taken image into the cordova.file.tempDirectory

  was:
Camera options:
- destinationType: Camera.DestinationType.FILE_URI,
- saveToPhotoAlbum: true,
- sourceType: Camera.PictureSourceType.CAMERA,

Situation: getPicture() on iOS saves a newly taken image into the cordova.file.tempDirectory
by default

Problem: After closing & re-opening the app, the taken pictures are not available any
more in the app - this functionality is only on iOS, all other platforms directly persist

This requires for every camera usage a workaround on ios - Move the file to permanent storage
after taking an image:
http://www.joshmorony.com/store-camera-photos-permanently-using-phonegap-ionic-ngcordova/

-> directly save the images in permanent storage on iOS

Further mentions:
http://stackoverflow.com/questions/33249522/angular-and-ionic-camera-function-wont-save-photo
http://stackoverflow.com/questions/27910783/cordova-move-file-using-the-file-url


> getPicture() with NATIVE_URI does a persistent save instead of a temporary one
> ------------------------------------------------------------------------------
>
>                 Key: CB-10711
>                 URL: https://issues.apache.org/jira/browse/CB-10711
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.0.0
>            Reporter: Omar Mefire
>            Assignee: Omar Mefire
>              Labels: iOS, reproduced
>
> Camera options:
> - destinationType: Camera.DestinationType.NATIVE_URI,
> - saveToPhotoAlbum: true,
> - sourceType: Camera.PictureSourceType.CAMERA,
> Situation: getPicture() on iOS should save the newly taken image into the cordova.file.tempDirectory



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message