cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse MacFadyen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-3395) Don't write files to Windows.ApplicationModel.package.current.InstalledLocation
Date Mon, 24 Mar 2014 22:49:42 GMT

     [ 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)

Mime
View raw message