Skip to main content
Inspiring
August 25, 2016

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

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

Thanks
    This topic has been closed for replies.

    4 replies

    Inspiring
    August 25, 2016
    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.
    motorsepAuthor
    Inspiring
    August 25, 2016
    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)
    Inspiring
    August 25, 2016
    The default permissions should be fine for the purposes of that doc. Is the app being rejected due to excessive permissions requested?
    motorsepAuthor
    Inspiring
    August 25, 2016

    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.