-
-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Steps to Reproduce
- Clone repo, add a fake lat and lon to the geolocation example app, and build
- Serve the built geolocation example app with an HTTP server from the
builddirectory
OR
- Build the geolocation example app (with fake lat/lon) as a standalone app, by installing
@omnidotdev/rdkversion 0.2 from NPM.
OR
Either of the above in dev mode.
Expected Behavior
Demo should have worked.
Actual Behavior
Both methods produce the same result, this error occurs:
Internal error: no requestPermission() found although requestOrientationPermissions() was called - please raise an issue on GitHub (code LOCAR_DEVICE_ORIENTATION_INTERNAL_ERROR)
This is an error from LocAR.js related to requesting permissions. It's only supposed to be called on iOS (once the initial gesture has been made by the user) but is being called on Android. This error does not occur with standalone LocAR.js.
Environment
Android 13 on a Pixel 3, testing via the Chrome Developer Tools on a host Linux machine.
Using bun and vite
Additional Notes/Screenshots
I'm the main developer of LocAR.js as you know, but just wonder if it works for you. If there is a bug I am happy to help fix.
coopbri
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working