Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
motorsep's avatar
motorsep
Start Partner
10 years ago

[Gear VR] How to set permissions in UE 4.12 / 4.13 ?

How do I specify permissions for my UE4 Gear VR app ? 

Thanks

4 Replies

Replies have been turned off for this discussion
  • For static permissions, the easiest way is to modify Engine\Source\Programs\UnrealBuildTool\Android\UEDeployAndroid.cs or the AndroidManifest in the intermediate/android/apk directory. I haven't tried this, but there is also a GUI plugin AndroidManifestConfigurator. If you need runtime permissions, use the Android requestPermissions API.
  • I am referring to https://developer3.oculus.com/documentation/publish/latest/concepts/publish-mobile-req/

    Is it talking about static permissions ? (like the ones you see when installing android apps from Play Store)
  • The default permissions should be fine for the purposes of that doc. Is the app being rejected due to excessive permissions requested?

  • vrdaveb said:

    The default permissions should be fine for the purposes of that doc. Is the app being rejected due to excessive permissions requested?


    Ah, cool. 

    Nah, I am just thinking ahead. Not sure what UE4 does with permissions (especially now that the manifest is being generated on deployment) and that's why I am asking.