Scanning for beacons on iOS thru' web browser

十年热恋 提交于 2021-02-19 05:57:06

问题


Is there any way to make a web page scan for beacons on iOS ? I know that no iOS web browser supports Web Bluetooth at the present. I even could not find any information about if Chrome team is planning to add support for Web Bluetooth for Chrome on iOS.

Is there any other way to scan for the beacons on iOS thru' web browsers (be it Safari or Chrome) ?

Thanks


回答1:


Unfortunately, Google can't add Web Bluetooth to Chrome for iOS without Apple's participation, and Apple has given no indication that they are supporting the Web Bluetooth project.

Understand that Apple restricts web browsers on iOS to use Safari or Safari web views, which has the same JavaScript engine and bindings as Safari. Google Chrome for iOS is required to use the same internal rendering and JavaScript engine as Safari, which simply does not support Web Bluetooth.

Bottom line: While it is possible that Apple will one day decide to join the Web Bluetooth party, there can be no support on third party iOS browsers until Apple decides to do so.



来源:https://stackoverflow.com/questions/45234339/scanning-for-beacons-on-ios-thru-web-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!