Open KentaIbayashi opened 1 year ago
I found the solution. It is in C:\Users{user}\Documents returned by getApplicationDocumentsDirectory. After deleting the files named with extension .bak and .gs, the storage data is also deleted.
But another issue here, it is better to save in one of these directory below, isn't it? Like shared preference behaves. C:\Users{user}\AppData\Roaming{YourAppOrganization}{YourAppName} C:\Users{user}\AppData\Local{YourAppOrganization}{YourAppName}
I am thinking about change the desktop location. When I built this package another options were not available. But for this, I will have to create a migration data flow, to prevent the current users to lost their data.
+1 for changing location. It's not very nice having the files dumped in the users documents folder.
when i change the location and i passed it in path like this for example: GetStorage( 'GetStorage', getApplicationSupportDirectory() ), );
i got permission denied in windows, it only work if i run the app as administrator but other libs like Hive or Secure Storage it has no issue saving in same 'getApplicationSupportDirectory' without run as administrator
Where does GetStorage save data? The app is Windows app on Microsoft Store and, and can't delete the app data even after reinstall the app. I tried to delete the data saved by GetStorage manually but couldn't find the directory location.