BabylonJS / Babylon.js

Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
http://www.babylonjs.com
Apache License 2.0
23.26k stars 3.43k forks source link

VR / Device Motion not working on iOS 12.2 and higher #7220

Closed CLB-ZReality closed 4 years ago

CLB-ZReality commented 4 years ago

Please fix the device motion for iOS 12.2 and higher devices by using the new apple API in babylonjs. Issue request from RanaanW: https://forum.babylonjs.com/t/deviceorientation-in-ios-12-2/1196/4

you can find the api information in the forum post or under this link: https://medium.com/flawless-app-stories/how-to-request-device-motion-and-orientation-permission-in-ios-13-74fc9d6cd140

RaananW commented 4 years ago

Seems pretty straightforward, should be fine.

Just wanted to give a heads up - this is for iOS13 and up, 12.2 doesn't have the permisison management system, so it cannot be implemented for it (see the medium post you submitted)