Hey all, does anyone know if it’s possible to access the device’s microphone specifically from a Checkout UI extension (for context, I’m building an app that adds a widget on the thank you/order status page and has a button that if clicked, would allow the user to do a voice recording through the device’s microphone).
I’ve tried:
- Using
navigator.mediaDevices.getUserMediain the Checkout UI extension itself, but getting an error that Shopify doesn’t allow access to the microphone. - Putting an iframe pointing to my widget in the Checkout UI extension, but looks it doesn’t support using
- Creating a theme extension block that contains an Iframe pointing to my widget. But it doesn’t seem like I can add a theme extension block to the Thank you page, and even if I could, not sure that it would allow microphone access anyway.
Does anyone know if microphone access is possible or if I’m missing anything? Or is it just a security risk that Shopify doesn’t allow?