DeviceOrientation API Not Allowed #445
Unanswered
Huscarl160
asked this question in
Help
Replies: 1 comment
-
Apologies for the delay in answering. These are iOS specific issues. We have had some PRs recently related to iOS; if you update to the latest version (3.4.2) does it work? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. I'm delving into AR.js for a project and I need a reliable location-based AR solution and I believe AR.js is the near-perfect solution. My problem is two-fold.
When I use the A-Frame version, it works, but the model seems to be locked to my phone (iPhone 12, iOS: 15.5, Chrome). I want to see the model at the Lat/Long coordinates, but it sits at my phone. I've read this is a possible issue with iOS as they have not been tested as much. One suggestion was to use the 3JS version. Which brings me to...
Using the 3JS version, I can not get my model to display. Running a Console log, I get "ERROR: THREE.DeviceOrientationControls: Unable to use DeviceOrientation API" It seems to me that it's not able to invoke iOS to grant it permission to use its sensors to establish its orientation. It asks me for permission to use the camera, but not the sensors.
Does anyone have a suggestion? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions