Android Question Question about SDK30 and File.DirRootExternal problem


Deleted member 103


So far, my app saves the log files and CSV files in a folder under File.DirRootExternal, but from SDK 30 this is not allowed. It is clear to me that I can save the files under "File.DirInternal or RuntimePermissions.GetSafeDirDefaultExternal".

The problem is, however, if the user uninstalls the app for whatever reason, then the files are also deleted and that shouldn't be.
Because these files will be used again with a new installation.
I also realize that the user can email the files somewhere and save them, but I don't think this solution makes much sense.

Question: what is the best way to solve this problem?