Hao Xu created CB-3395:
--------------------------
Summary: 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: Windows 8
Affects Versions: 2.7.0
Reporter: Hao Xu
Assignee: Jesse MacFadyen
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira