It's a little hard to come up with ideas, though, without knowing more about what it is you're trying to accomplish. If it has a camera, the progressive web app could send data that way. Maybe the Bluetooth device has other connections or sensors. Try some out by going to Settings > Safari > Extensions, then click the More Extensions link to see additional. If you are in control of the Bluetooth device, nothing is stopping you from sending data over audio (building an acoustic modem like in the good old days). Safari added support for extensions on mobile with iOS 15 and iPadOS 15. As you wrote, it is possible to stream audio from a website to a Bluetooth speaker (and the other way around). There could be other creative solutions to your problem if you have control over the Bluetooth device. I've used WebBLE and Cider Connect with success. You could build a custom web browser using WKWebView and add support for Web Bluetooth API yourself.ĭownload a web browser with Web Bluetooth support When developing native applications for iOS and iPadOS, you have access to Bluetooth. Do you have control over the Bluetooth device? Does the device have other means of communicating? Is it acceptable to the users of your web app to download an alternative browser? Here are some ideas from the top of my head.īuild your own browser with support for Web Bluetooth API Possible workarounds depend a lot on your specific situation. Following links such as phone numbers in your web content may launch applications too. Safari on iOS also has the ability to preview content types and launch another application if it is available to display that type of document. In other words: you won't find support for Web Bluetooth API in Safari on iOS tomorrow or anytime soon. In particular, Safari on iOS handles content types such as video and PDF files different from the desktop. The current official status is "Not Considering". For that to happen, WebKit, the browser engine that power Safari, has to implement that feature. What you ask for is access to the Web Bluetooth API from Safari on iOS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |