Hi, I’m building an app for the shopify pos and my app uses the web bluetooth api. I currently get an error when testing saying bluetooth is unavailable because the apps are displayed through an iframe.
Is there a way for me to get access to the bluetooth web api for my app?
Is your iframe loaded already through an application proxy? (similar thread here). If not, this is something you could look into, although I’m not certain to what extent the web bluetooth API supports iframe behaviour.
Thanks for the response. I was trying to use App Bridge so that our app can be used in the Shopify POS, which I think renders through an iframe. Can proxies be used to render inside the POS without App Bridge or an iframe?
App Bridge should be sufficient in this case. If you haven’t already found it, here’s some documentation you can read on Application Proxies and App Bridge, although it sounds like that chromium issue is what you’re waiting for!