Hello,
I have developed an app that allows the user to generate and save pdf, jpg and xls files so that he can later access them and use them with other applications.
For that I create a directory in DirExternal and access it through PERMISSION_WRITE_EXTERNAL_STORAGE.
With API 29 I had to add in the manifest
SetApplicationAttribute(android:requestLegacyExternalStorage, true)
, but it is possible that with API> 29 this will not work.
I would like to know what is the best solution to save these files without having problems with future Android updates to be able to work on it.
Thank you very much.