My app creates large files of my own format. We used to save those on device memory but from sdk level 30 we can't access them anymore (it is too slow and complicated to use DocumentFiles).
Is there a way to store files in scoped storage that are not media files, that doesn't increase app memory and bog it down?
And I am also worried about files being deleted when a user uninstalls the app.
What is the best way to do this?
Edit: We used to store it on a folder on the phone memory that is accessible by the user via file browser. On Android 11 we can't do that so the files would have to move to scoped storage i.e. Android/data//files
Is there another storage location that an app can access on Android 11 that won't be deleted after app uninstall?