cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Hoffman (JIRA)" <>
Subject [jira] [Commented] (CB-13203) Windows UWP shared Local Folder being removed
Date Tue, 22 Aug 2017 13:19:00 GMT


Jon Hoffman commented on CB-13203:

Based on feedback on the Cordova Windows Slack channel I created a new proof of concept app,
with a new GitHub repository, that I added to the issue description.  I also added details
about how the app was built and steps need to reproduce/verify the issue.  If you have any
questions please let me know.

> Windows UWP shared Local Folder being removed
> ---------------------------------------------
>                 Key: CB-13203
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-windows
>    Affects Versions: 7.0.1
>         Environment: When running on the Windows 10 platform
>            Reporter: Jon Hoffman
>            Assignee: Jesse MacFadyen
>            Priority: Critical
>              Labels: cordova-7.0.1, data-corruption, data-integrity, data-loss, windows-universal
> We are writing an application using Ionic 2 for Windows 10. The application will need
to share data between different users on the same machine therefore we are using the shared
local folder to save the data to as described in the "Using Shared Local" section of this
> This method works great and we are able to write information to the shared local folder
however when the application updates, all of the files in the shared local folder are removed.
 I tested this by updating the Cordova-Sqlite-Storage plugin to use the shared local folder
and also with a proof of concept app (
,  I did create
a native c# application to see if we had the same behavior when we updated a native application.
When we updated the native app the shared local folder was not removed therefore this is an
issue specific to the hybrid application.
> I put my proof of concept application that simply writes a text file to the shared local
folder and the application local folder that can be used to see how the shared local folder
is removed when we update the app. The repository is located here:
and includes a windows plugin to write to the shared local folder. 
> You will need to set a group policy to get the shared local folders working. In the in
the "Using Shared Local" section of this page:
it describes how to change the policy and which one to change.
> I have updated to Cordova 7.0.1 and built the proof of concept app to see if we have
the same issue as describe with version 6.5 (
 After updating the application the shared local folder is removed therefore the same issue
exists with Cordova 7.0.1.
> --Edited to add a new repository for the proof of concept app.  The repository also has
detailed instructions on how the app was built and how to reproduce the issue.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message