Unity Oculus Platform SDK Permission Issues
When I include the Oculus Platform SDK for unity it has code that forces unity to add the 2 permissions below
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
I can remove the audio permission by modifying some of the code from the Oculus Platform SDK but this is a pain and I would prefer a solution where i do not have to modify the oculus platform sdk.
I am unsure if <uses-permission android:name="android.permission.INTERNET"/> is either coming from my code or the Oculus Platformsdk or both.
I exported my project to an android studio project so i can manually modify the permissions that unity generates(not an ideal solution)
The android studio project gives me a gradle error
I can remove the audio permission by modifying some of the code from the Oculus Platform SDK but this is a pain and I would prefer a solution where i do not have to modify the oculus platform sdk.
I am unsure if <uses-permission android:name="android.permission.INTERNET"/> is either coming from my code or the Oculus Platformsdk or both.
I exported my project to an android studio project so i can manually modify the permissions that unity generates(not an ideal solution)
The android studio project gives me a gradle error
Caused by: java.lang.RuntimeException: Cannot read packageName from C:\trent\olympia_oculus_go\build\Olympia\src\main\AndroidManifest.xml
Googling this issue does not have great results.
Is there any documentation that shows how to build an oculus unity project in andoird studio that was generated from unity.
or
Is there a simple solution to remove permissions that i do not require in unity without modifying any of the code.(I use many plugins, i don't want to modify each for an Oculus build if possible)
the second solution is preferable.
Thanks for reading.
Googling this issue does not have great results.
Is there any documentation that shows how to build an oculus unity project in andoird studio that was generated from unity.
or
Is there a simple solution to remove permissions that i do not require in unity without modifying any of the code.(I use many plugins, i don't want to modify each for an Oculus build if possible)
the second solution is preferable.
Thanks for reading.
