D
Deleted member 103
Guest
Hi,
my app creates a folder under "File.DirRootExternal" when it starts, for example: File.DirRootExternal & "/ MyFolder". All race files created by the user are stored here. In this way, the files will not be deleted if the user has to uninstall and reinstall the app for any reason.
My problem is, when I update now, I am no longer allowed to simply access "File.DirRootExternal" and thus I can no longer copy all existing files from File.DirRootExternal & "/MyFolder" to "RuntimePermissions.GetAllSafeDirsExternal" without user invocation.
You could also use the "ExternalStorage" class, but that seems a bit more complicated than just using "RuntimePermissions.GetAllSafeDirsExternal".
I can also tell the user to copy the files himself, but many users are overwhelmed with such tasks.
If someone had the same problem, how did they solve it?
my app creates a folder under "File.DirRootExternal" when it starts, for example: File.DirRootExternal & "/ MyFolder". All race files created by the user are stored here. In this way, the files will not be deleted if the user has to uninstall and reinstall the app for any reason.
My problem is, when I update now, I am no longer allowed to simply access "File.DirRootExternal" and thus I can no longer copy all existing files from File.DirRootExternal & "/MyFolder" to "RuntimePermissions.GetAllSafeDirsExternal" without user invocation.
You could also use the "ExternalStorage" class, but that seems a bit more complicated than just using "RuntimePermissions.GetAllSafeDirsExternal".
I can also tell the user to copy the files himself, but many users are overwhelmed with such tasks.
If someone had the same problem, how did they solve it?