Motion sensor prompt removal

Is it possible to remove the Prompt for iOS motion sensors and instead directly request for the access to motion sensor and orientation ?

1 Like

Hi @Ruthvik_L_Bhat you’ll need a click to enable those permissions on iOS, however there is a way for you to add your own screen with a button prompt that will request these permissions, like this:

You’ll notice in the body html file that the xrweb component isn’t present and gets added to the a-scene in the splash-image.js file. This will make it so that the button that requests the permissions is the start button in the splash screen and the 8thWall prompt to add gyro permissions shouldn’t appear anymore. It will also immediately ask you for the camera permissions as well, so it’s basically the same thing as the prompt, however with your own customised click rather than using 8thWall’s UI.

Hope this helps :slight_smile:

2 Likes

This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.