[ 
https://issues.apache.org/jira/browse/CB-3395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jesse MacFadyen updated CB-3395:
--------------------------------

    Component/s: Plugin Camera

> 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
>
> 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.1.4#6159)

Reply via email to