Does DownloadManager will work on targetapi 30?

55 views Asked by At

Cant find correct information about DownloadManager and scoped storage in API30. How to test it? I tried to change target api from 29 to 30, and all works fine, does this mean that I do not need to change my code to MediaStore?

P.S. I haven't in my manifest android:requestLegacyExternalStorage="true"

1

There are 1 answers

0
Angel Koh On BEST ANSWER

DownloadManager is still be working as normal in API30. only 2 methods are deprecated in API29. refer to https://developer.android.com/reference/android/app/DownloadManager

enter image description here

also take note of the API30 change in DownloadManager.Request.

https://developer.android.com/reference/android/app/DownloadManager.Request enter image description here