5

When I look at https://caniuse.com/mdn-api_bluetooth it indicates that neither Safari not iOS Safari supports Web Bluetooth, and due to Apple policy all iOS browsers basically Safaris as well, so this means none of the browsers could come to rescue even if they'd normally open to Web Bluetooth.

However certain news outlets reported lately that bluetooth game controllers could be paired on iOS for game streaming webapps: https://www.extremetech.com/gaming/317578-nvidia-google-to-support-cloud-gaming-on-iphone-via-web-apps

You can pair an Xbox, PS4, or mobile Bluetooth controller with the device. The web app also has touch controls, but they won’t work in all games.

How is that possible technologically? I have a native mobile application which communicates with Bluetooth Low Energy devices and I'd move it to web if Apple platform could be covered as well. Articles report that Apple explicitly avoids Web Bluetooth citing privacy reasons: https://www.zdnet.com/article/apple-declined-to-implement-16-web-apis-in-safari-due-to-privacy-concerns/

Csaba Toth
  • 10,021
  • 5
  • 75
  • 121

1 Answers1

3

Bluefy and WebBLE provide implementations of the Web Bluetooth API on top of WKWebView.

Reilly Grant
  • 5,590
  • 1
  • 13
  • 23
  • 1
    That's great news! How could Apple let its guard down so Web Bluetooth would be possible after all? Those game webapps should really push you towards installing those apps, otherwise the pairing wont' work. I'll start to research this PWA venue then for my app! – Csaba Toth Nov 20 '20 at 23:19