3 ms·
While Web Bluetooth seems like a good idea to us making BLE devices, the truth of the matter is that only google adopted it, and only such a small subset that y
by jpablo 7y ago
While Web Bluetooth seems like a good idea to us making BLE devices, the truth of the matter is that only google adopted it, and only such a small subset that you have to design your device around Web Bluetooth.
I recently had to make a iOS app that embedded a webview that catches web bluetooth calls and implemented them natively, to work around the fact that Web Bluetooth doesn't work on Safari. I think that would be a maintenance nightmare going forward.
- sitkack 7y ago> embedded a webview that catches web bluetooth calls and implemented them natively, to work around the fact that Web Bluetooth doesn't work on Safari This just broke my mind. Could you explain how/why this infinity mirror contraption was built?
- toast0 7y agojpablo built a website that uses WebBluetooth to do something. That doesn't work on Safari, so to make it work on iOS, jpablo built an app. The app is mostly just a (safari) webview, but with hooks to satisfy the web bluetooth api, by using native code.
- sitkack 7y agoThe ol ReverseDoubleWat ! A native app to shim a browser feature so the web will work on mobile. Bringing the web to native mobile.