cancel
Showing results for 
Search instead for 
Did you mean: 

"Please remove all unnecessary permissions:"

objectnormal
Explorer
I'm using Unity - I've submitted several versions of my app and haven't run into this before. I haven't added plugins. My Android Manifest doesn't show anything about camera permissions (or any other permissions). It says my build has a test failure but it doesn't show any test failures when I click through (just a warning). My latest build has gone live even with the note - but my other requests to the app have not been updated (app name change and pricing change). So I'm a bit confused about what to do with this:
 
Your build has a test failure, please address it before resubmitting
Please remove all unnecessary permissions:
"android.permission.CAMERA"
2 REPLIES 2

vreach
Honored Guest

Hi, I think, problem is the same as this thread. In that case, i advice you to check up your third party assets imported first. --> https://forums.oculusvr.com/t5/Unity-Development/This-app-uses-permission-s-that-are-not-compatible-...

vreach
Honored Guest

Of course, there is always a wrong dirty working way. OVRManifestPreprocessor, function PatchAndroidManifest,  and add this code

 

AddOrRemoveTag(doc,
androidNamepsaceURI,
"/manifest",
"uses-permission",
"android.permission.CAMERA",
false,
modifyIfFound: true);