I have a file transfer app that needs to save the files it received in the Download folder. On Android >= 10, MediaStore makes this extremely easy, since it provides a direct method for creating entries in the download folder, without any special permission.
However, on Android < 10, the download URI is not avaiable in the MediaStore API, and I have to rely on the old method for saving files, which requires the WRITE_EXTERNAL_STORAGE permission with consequent popup for asking it.
Is there any way around this? Maybe some kind of support library that brings the Download URI back to older versions of Android?