You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Mac Stuewe (JIRA)" <ji...@apache.org> on 2016/01/08 16:11:39 UTC
[jira] [Resolved] (CB-10252) iOS app update/redeployment makes
files unaccessable
[ https://issues.apache.org/jira/browse/CB-10252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mac Stuewe resolved CB-10252.
-----------------------------
Resolution: Fixed
The files can be accessed by their native paths, but no longer if the app was updated/redeployed.
Using the cdvfile protocol cdvfile-path instead of the native path, the files can be accessed by the html-src attribute after an update/redeployment.
The link to the tutorial 'HTML5 Rocks' ' should be removed from the file-plugin api (
https://github.com/apache/cordova-plugin-file). It is outdated and doesn't point to this important problem.
> iOS app update/redeployment makes files unaccessable
> ----------------------------------------------------
>
> Key: CB-10252
> URL: https://issues.apache.org/jira/browse/CB-10252
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin File
> Affects Versions: 5.4.0
> Environment: iOS
> Reporter: Mac Stuewe
> Priority: Minor
> Labels: triaged
> Attachments: Bildschirmfoto 2015-12-22 um 14.44.19.png
>
>
> I store files into the library-nosync directory:
> window.resolveLocalFileSystemURL(cordova.file.dataDirectory, requestFileSystemSuccess);
> after the app redeployment by xCode or app store update, these files cannot be accessed, although they exist at this path.
--
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