How to Display qr code for scanning on desktop mode #4702
-
Hello world, I need assistance with this; How to display a qr code when user clicks on the "view in space" button on a desktop, so the user can scan with their mobile device for the Ar experience. Here is an example in the image below. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I use a library like this one https://github.com/davidshimjs/qrcodejs to generate a QR code leading to the page where you hosted your model and pass the parameters that change through the url. If your model doesn't change you can just generate a QR code once and embed it inside a div element which you would show by toggling the display settings on it when you click the "View in AR" button. |
Beta Was this translation helpful? Give feedback.
I use a library like this one
https://github.com/davidshimjs/qrcodejs
to generate a QR code leading to the page where you hosted your model and pass the parameters that change through the url.
If your model doesn't change you can just generate a QR code once and embed it inside a div element which you would show by toggling the display settings on it when you click the "View in AR" button.