Check WRITE_EXTERNAL_STORAGE Permission Returns '-1'

Existing manifest permission with maxSdk version:

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

We recommend granting "WRITE_EXTERNAL_STORAGE" permission. But if you are implementing the Vungle SDK using AAR via Maven (and using JARs), and you want to keep the permission in your manifest without any specified SDK version targeting, add the following line to your manifest file:

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="replace"/>
Powered by Creativity Driven by Performance Sign Up Here


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

Was this article helpful?