I’m working on an VR app using Expo and a-frame with a webview. Everything worked well with iOS12 but I have some problems since I updated to iOS13 and SDK35. When I start the webview, it is impossible to use the VR mode, the scene can only be moved if the user is swiping the screen.
I looked in the Expo doc but the Permissions doesn’t seem to handle the DeviceMotion permission (and the DeviceMotion page only says we can check if it’s enabled or not). Is there any way to solve this ?
are you using expo-device-motion inside of the webview? if not, how are you interacting with the DeviceMotion API? no permissions are required for native usage on ios or android, but it seems that if you are doing this inside of a webview you are most likely dealing with the web standard api and not the expo api: DeviceMotionEvent - Web APIs | MDN
But still, the VR still isn’t working and never used expo-device-motion or expo-sensors before because everything worked fine on sdk33 and ios12 and still working on Android.
If I’m interacting with the web standard api and not the expo, is there any way to solve it with expo ?