PWABuilder icon indicating copy to clipboard operation
PWABuilder copied to clipboard

iOS WebBluetooth support

Open andrewgoz opened this issue 1 year ago • 4 comments

Tell us about your feature idea

Implement support for PWAs utilizing WebBluetooth on iOS devices.

Do you have an implementation or a solution in mind?

WebBLE already implements a WebBluetooth polyfill (WBWebView) as a subclass of WKWebView, which leads me to hope it might be drop-in replacement for WKWebView.

The main issue is that the chooser UI for Bluetooth.requestDevice() is functional, but very basic.

Have you considered any alternatives?

I don't see any alternative other than Apple implementing native WebBluetooth support in WKWebView.

andrewgoz avatar May 07 '23 07:05 andrewgoz

Thanks for submitting a new feature request! I've automatically added a vote 👍 reaction to help get things started. Other community members can vote to help us prioritize this feature in the future.

ghost avatar May 07 '23 07:05 ghost

Hey! Good idea. Feel free to contribute here https://github.com/pwa-builder/pwabuilder-ios and we can help to test it and add to pwabuilder. Sadly we don't have resources at this moment to actively develop ios-wrapper solution, it's on community driven rails rn.

khmyznikov avatar May 08 '23 10:05 khmyznikov

I expected this based on what I have read. I've discussed with my general manager and we intend to contract someone to do this and contribute whatever comes out of that. No timeframe as yet.

andrewgoz avatar May 23 '23 01:05 andrewgoz

@andrewgoz this is awesome! Let us know if you have any updates around this (:

jgw96 avatar Jun 20 '23 17:06 jgw96