You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jesse MacFadyen (JIRA)" <ji...@apache.org> on 2014/03/24 23:49:42 UTC
[jira] [Resolved] (CB-3395) Don't write files to
Windows.ApplicationModel.package.current.InstalledLocation
[ https://issues.apache.org/jira/browse/CB-3395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse MacFadyen resolved CB-3395.
---------------------------------
Resolution: Fixed
Fix Version/s: 3.4.0
All plugin APIs now use the following :
Windows.Storage.ApplicationData.current.localFolder
Windows.Storage.ApplicationData.current.temporaryFolder
> Don't write files to Windows.ApplicationModel.package.current.InstalledLocation
> -------------------------------------------------------------------------------
>
> Key: CB-3395
> URL: https://issues.apache.org/jira/browse/CB-3395
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Plugin Camera, Plugin File, Windows 8
> Affects Versions: 2.7.0
> Reporter: Hao Xu
> Assignee: Jesse MacFadyen
> Fix For: 3.4.0
>
>
> In the current cordova Windows 8 implementation, a lot of the temp files are written to packageId.path( Windows.ApplicationModel.package.current.InstalledLocation.path). From the MSDN document that storagefolder is readonly, but in debug mode, if the CreateFileAsync() is called with second parameter Windows.Storage.CreationCollisionOption.GenerateUniqueName , then CopyFileAsync/CreateFileAsync can create files and folders under installedLocation folder successfully. It's only a bug in debug mode.
> So I don't think the cordova should write any date to packagetId.path, all the files should be written to folders under AppplicationData.
> ref: http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/e1354247-9048-4507-ae30-ef0d67a3e80f
--
This message was sent by Atlassian JIRA
(v6.2#6252)