cancel
Showing results for 
Search instead for 
Did you mean: 

Disable guardian at runtime in Mixed Reality Apps (Unreal)

acr0mer
Explorer

Hi, as you know we don't need guardian any more with mixed reality 

While looking for a solution for this I found this code under unity topic 

<uses-feature android:name="com.oculus.feature.CONTEXTUAL_BOUNDARYLESS_APP" android:required="true" />

They just adding this to AndroidManifest.xml for unity 

Problem is Unreal documention say "You should never edit the AndroidManifest.xml file under any circumstances. Any edits that need to be made to the AndroidManifest.xml file should be done inside the UE Editor in the Advanced APK Packing section."
I couldn't figure out how to add the code to that section. 
when i add as a extra setting (code line) i couldnt build it i can try as a tag but  i dont know how does it work
any idea would help

 

1 ACCEPTED SOLUTION

Accepted Solutions

swang81
Protege

1. go to project\build\Android\, add a empty new file "ManifestRequirementsOverride.txt", add the line 

<uses-feature android:name="com.oculus.feature.CONTEXTUAL_BOUNDARYLESS_APP" android:required="true" />

2. build the package and install it into headset. 

3.  when you open the app,  it will give you some tips about no guardian. 

 

View solution in original post

7 REPLIES 7

swang81
Protege

1. go to project\build\Android\, add a empty new file "ManifestRequirementsOverride.txt", add the line 

<uses-feature android:name="com.oculus.feature.CONTEXTUAL_BOUNDARYLESS_APP" android:required="true" />

2. build the package and install it into headset. 

3.  when you open the app,  it will give you some tips about no guardian. 

 

I can't thank you enough This answer is very valuable to me. 🙏

Hello! I tried using your solution but my app won't open. Can you still use this functionality now?

kennard-consulting
Expert Protege

Definitely. I have two apps in the Meta Store (PozeAR and SprintAR) using this feature.

Hi @dts.entrenamiento 

 

Thank you for sharing your experience with us ! We understand that you are having issues with using one of your apps. In order to receive the best help in your situation, you should contact our Developer Support Team, they will be more than happy to assist you with the issue you are encountering! 

 

If you need further help, please don't hesitate to reach back out to us! 

 

Keep the conversation going, we love to see the support within our Community!  🙂

SandmanLol
Honored Guest

The accepted solution here involving ManifestRequirementsOverride.txt causes my MR Template app to crash on launch.

Luckily, I found that I can just turn on these two checkboxes to do this.

SandmanLol_0-1736714918186.png