Skip to main content
New Participant
June 25, 2016

Ovrpulgins XML Manifest causing issues. HELP!

The Ovrpulgins XML Manifest asks for READ_EXTERNAL_STORAGE. This causes a permissions check when the app starts (for photos / media / data, you know the scary one). I have no Idea how to fix it. I have tried overwriting the manifest, and editing the manifest. Unity just merges manifests and rewrites the permissions back in. I can't find the manifest it is merging in. 
This topic has been closed for replies.

5 replies

New Participant
June 26, 2016
I believe it is required so the app can read the lens data of the connected device.
Scofield3Author
New Participant
June 27, 2016
It is, but it sends that scary permissions check. (this check got my game rejected even through it is their check).the fix is to add this  <meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="true" /> to your manifest
Inspiring
June 27, 2016
We do legitimately need this permission. I'll see if there's anything we can do to avoid that, but I am not optimistic.
Participant
June 27, 2016
if you are on OSX use "grep -rIin 'READ_EXTERNAL_STORAGE' ." might help you find the conflicting android manifest. run from the base of the project in terminal of course.
Inspiring
June 27, 2016
Looks like READ_EXTERNAL_STORAGE is only needed for some pre-Marshmallow OSes. Unfortunately, it is in Unity's current template AndroidManifest.xml, so you would have to hack it out in the staging area copy as described here: http://answers.unity3d.com/questions/1174614/modifying-androidmanifest-for-gearvr.html. Also be sure to build with API level 23 or higher.