cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Piotrowski (Sujan) (JIRA)" <>
Subject [jira] [Commented] (CB-13203) Windows UWP shared Local Folder being removed on app update
Date Tue, 13 Feb 2018 15:23:00 GMT


Jan Piotrowski (Sujan) commented on CB-13203:

Hey [~hoffmanjon], is this issue still relevant for you? Did I assume correctly that you were
testing this with `cordova-windows` version 5.0.0?

> Windows UWP shared Local Folder being removed on app update
> -----------------------------------------------------------
>                 Key: CB-13203
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-windows
>    Affects Versions: 5.0.0
>         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
page: 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 "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.

This message was sent by Atlassian JIRA

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

View raw message