Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

can ios safari access bluetooth device?

I'm working on a location related project. I found that iOS has iBeacon which can help the app to get the location data. I want to know if iOS Safari does have the access to it? Or any other similar bluetooth device which can be accessed?

like image 520
Weijing Jay Lin Avatar asked Jan 28 '16 21:01

Weijing Jay Lin


People also ask

Can Safari access Bluetooth?

Not yet. There is a proposal in W3C for a "web-bluetooth" specification which has been partly implemented in the chrome , opera and chrome-for-android browsers, although they need to be activated by the users in a somewhat convoluted manner.

Does iOS support web Bluetooth?

Users can create web solutions that will work on all iOS devices. To implement the capabilities of the web Bluetooth browser, you need to turn on Bluetooth on your smartphone and device, open the web API page adapted to the device, make a connection and you can start creating individual web solutions.

Can someone connect to my Bluetooth without me knowing?

Bluetooth hacks can take place when a hacker uses their own Bluetooth connection to gain access to your phone. However, this can only happen if your phone is within the Bluetooth range of a potential hacker. Usually, this range is around 30 feet.

Can you search for Bluetooth devices on iPhone?

First double-check that Bluetooth is turned on in your iPhone. Tap "Settings" and select "Bluetooth." Confirm the Bluetooth switch reads "On." If Bluetooth is turned on, your iPhone automatically searches for remote devices. When devices are found, they appear in the list as they are located and identified.


2 Answers

Not yet. There is a proposal in W3C for a "web-bluetooth" specification which has been partly implemented in the chrome , opera and chrome-for-android browsers, although they need to be activated by the users in a somewhat convoluted manner. Like all these things, it'll take time for the committees to spin their wheels and for the browser makers to decide if they want to support it , and then implement it.

MDN docs: https://developer.mozilla.org/en-US/docs/Web/API/Web_Bluetooth_API

like image 66
Shayne Avatar answered Oct 14 '22 07:10

Shayne


Apple don't have this built in to Safari (yet), however there is a Web Browser app called WebBLE that implements 'Web Bluetooth' mentioned by Shayne.

Currently the app only supports a subset of the standard, but it's more than enough for most tasks. It's also Open Source so you could add it to a WebView in your own app if needed.

Having said all that, currently I don't believe Web Bluetooth supports accessing Advertising data - so while you can connect to Bluetooth LE devices and interact with them, you may not be able to get the actual Advertisements (which is kind of the point of iBeacon).

like image 30
Gordon Williams Avatar answered Oct 14 '22 07:10

Gordon Williams