cancel
Showing results for 
Search instead for 
Did you mean: 

My app is request microphone access but don't want to, can't see how its being added to my manifest!

AJ_Soto
Protege
This might be being added after including the Oculus Platform SDK to my project to include a leaderboards feature. I know the SDK provides chat abilities, but I'm not taking advantage of them.  The problem is after the build is done and I install my app, I can see my app requesting access to the user microphone.  When I look at my manifest, I DO NOT have any request for it and when I search my projects entire solution for android permissions I can't find anywhere that it may be being added when the manifest is being transformed for compilation.  Can anyone help me with some tips on what to do or if they have experienced this themselves?  Thanks in advance.
1 ACCEPTED SOLUTION

Accepted Solutions

Fulby
Heroic Explorer
This had me stuck for a while too. The permission is added automatically by Unity if it sees a script using the microphone API. One of the scripts in the Oculus SDK does, OVRMicrophone or OVRVoip or something. I deleted the script (maybe two scripts) and that stopped the permission being added.

View solution in original post

4 REPLIES 4

Fulby
Heroic Explorer
This had me stuck for a while too. The permission is added automatically by Unity if it sees a script using the microphone API. One of the scripts in the Oculus SDK does, OVRMicrophone or OVRVoip or something. I deleted the script (maybe two scripts) and that stopped the permission being added.

AJ_Soto
Protege
Fulby, you da real MVP!

Anonymous
Not applicable
I was wondering about this permission as well and it started appearing after I included the Oculus SDK. Thanks Fulby for pointing out the actual scripts! This is awesome 🙂

moonbear
Explorer
Yep, absolutely right. The permission will be gone if delete those OVRMicrophone and OVRVoipXXXX scripts. Also in my environment, I also have to comment out some lines in CAPI class, otherwise there will be compiling error.