[Model viewer testing] Asset getting launched in AR mode even after denying the camera permission
See original GitHub issueDescription
Asset getting launched in AR mode even after denying the camera permission Steps:
- Take the link https://modelviewer.dev/examples/loading/ in the browser
- Go to Scene Viewer link
- Launch the model in AR mode
- Deny the camera permission when message appeared
Live Demo
Screenshot attached
Version
Hardware: Pixel 4a, Samsung S9
- model-viewer: vX.X.X
Browser Affected
- [ *] Chrome, version: 90
- Edge
- Firefox
- IE
- Safari
OS
- Android
- iOS
- Linux
- MacOS
- Windows
AR
- WebXR
- [* ] SceneViewer
- QuickLook
Issue Analytics
- State:
- Created 2 years ago
- Comments:12
Top Results From Across the Web
[SceneViewer] AR not working on new installations/after new ...
Go to https://modelviewer.dev/examples/augmentedreality/#sceneViewer and try to place model in AR. It results in error such as "File could not ...
Read more >Augmented reality with <model-viewer> | ARCore
When viewed on an ARCore-supported Android device, a <model-viewer> component with the ar attribute displays a button as shown in the following example:....
Read more >Augmented Reality - <model-viewer>
This demonstrates the use of slots, as well as shared and unshared DOM between the 3D and AR modes. A slot is used...
Read more >Previewing a Model with AR Quick Look - Apple Developer
The following code demonstrates previewing a scene named myScene from the app bundle.
Read more >Flutter camera plugin: A deep dive with examples
If you're looking to add a custom UI to the camera view in your Flutter app, look no further than this in-depth, thorough...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is also a problem with this prompt in
ar-only
mode inscene -viewer
, in which an alert fires with “Couldn’t load object” and closes the app.Yeah, Scene Viewer already has a fix, but it’ll take a week or two to roll out, so this work around is recommended.