Check WRITE_EXTERNAL_STORAGE permission return -1

Existing manifest permission with maxSdk version:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="18" />

It is recommended to have"WRITE_EXTERNAL_STORAGE" permission. But if you are implementing the Vungle SDK as AAR via Maven(and not implementing via JARs), and want to keep the permission in your manifest without any specified SDK version targeting, please add the below line to your manifest file:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace"/>
Was this article helpful?


Need further assistance, feel free to reach out to us, we’re here to help!