Android Manifest created by Oculus and Unity adds unwanted "android.permission.READ_PHONE_STATE" />
Hello -- I am building a VR app using Unity and Oculus SDK. When I build it the following line is added to the Android Manifest
According to android documentation, this is added automatically if one of the manifests does not specify a minimum sdk with api >4. There is an AndroidManifest that appears after building in the temp\stagingarea\android-libraries\ovrplugin -- it does not have this specified so I suspect that what ever is generating this file is the culprit in causing the unwanted line in the primary AndroidManifest.
My question is: What in OVR is creating this manifest (temp\stagingarea\android-libraries\ovrplugin\AndroidManifest) and how do I go about changing it so that when it is generated it adds the proper minimum sdk information.
Note 1: I can easily recreate this with a new extremely simple project (1 scene with just a capsule and VR for Oculus selected.).
Note 2: one of the "fixes" is to add another permissions line with tools to remove, however, this solution is not one that will work for me due to google play requirements.