You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michael Schmidt (JIRA)" <ji...@apache.org> on 2015/10/29 08:34:27 UTC
[jira] [Created] (CB-9898) ios getPicture() with destinationType
FILE_URI doesn't persist image, only saves to temp directory
Michael Schmidt created CB-9898:
-----------------------------------
Summary: ios getPicture() with destinationType FILE_URI doesn't persist image, only saves to temp directory
Key: CB-9898
URL: https://issues.apache.org/jira/browse/CB-9898
Project: Apache Cordova
Issue Type: Bug
Components: Plugin Camera
Affects Versions: 1.2.0
Reporter: Michael Schmidt
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
--
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