Skip to content

Runtime Permission Fail (Vungle SDK)

Published on: January 13, 2020

Quickly created an Account on Vungle, added Mediation on AdMob dashboard & integrated "AdMob’s Vungle Adapter" dependencies in my App’s build.gradle, hit sync & run!

Everything should have had gone right, but I wasn't able to use Runtime Permission on Android 6+.
All my code was right but still the Storage Permission Request kept throwing permission denied!

Checked the manifest & it was right too, then what might have had gone wrong!?

I clicked on the Merged Manifest and damn! I see that the Storage Permission has a maxSdkVersion flag set to 18!

And guess who added that flag!? – Vungle ADS SDK!

If you face this, just add below & it should fix the issue -

text
tools:remove="android:maxSdkVersion"

Darshan Pandya