[ACCEPTED]-DownloadManager.Request.setNotificationVisibility fails with SecurityException: invalid value for visibility: 2-download-manager

Accepted answer
Score: 154

You need the following permission in the 4 manifest as per documentation:

<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />

Note
Most of the 3 manifest permissions will be autocompleted 2 by Android Studio, but this will not be 1 auto-completed.

Score: 1

but also need to add that permission to 2 rn-fetch-blob's manifest that is not given 1 in it.

<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />

More Related questions