Comments (4)
You will indeed need to use "experimental features" in Chrome to get Bluetooth devices advertisements data as those have not shipped yet.
https://chromestatus.com/feature/5346724402954240 and https://chromestatus.com/feature/5180688812736512 are ChromeStatus entries you can look for to learn more about.
from web-bluetooth.
Note that on Android there is an open issue preventing Chrome from receiving advertisements from iBeacon devices because we are telling the operating system we aren't interested in location-related devices as that requires requesting a different permission than non-location-related devices.
from web-bluetooth.
Note that on Android there is an open issue preventing Chrome from receiving advertisements from iBeacon devices because we are telling the operating system we aren't interested in location-related devices as that requires requesting a different permission than non-location-related devices.
Outch, I tried during days and days before reading this answer.
bluetooth-internal didn't show the ibeacon but in my demo using watchAdvertisement I received a truncated (only 7 or 8 bytes of data) event (with the Apple ID in the data)
Do you know how we can bypass this permission ?
thanks !
from web-bluetooth.
As noted in https://bugs.chromium.org/p/chromium/issues/detail?id=1296054#c7, as of Android 12 Bluetooth permissions have been extended to include the "neverForLocation" flag.
Chrome includes this flag because the Web Bluetooth API is not intended for determining user location as a replacement for the Geolocation API.
You can read more at https://bugs.chromium.org/p/chromium/issues/detail?id=1324831 as well.
There's no way to bypass this currently.
from web-bluetooth.
Related Issues (20)
- Is client to client communication (between nearby devices) possible? HOT 2
- requestLEscan not working HOT 1
- watchAdvertisements() should return a "sentinel" object HOT 4
- How to invalidate characteristics cache given that Service Changed is not implemented yet? HOT 2
- "current settings object's relevant global object" is not defined HOT 4
- Bookmarks crashing HOT 1
- No need for a [[BackingMap]] in Bluetooth{Manufacturer,Service}DataMap anymore
- BluetoothAdvertisingEventInit.{manufacturer,service}Data's type is unclear HOT 1
- Web Bluetooth Manufacturer Specific Data Map empty HOT 7
- requestDevice filters to exclude devices. HOT 1
- Would be nice to enable the Discussions on this repo, not everything is an issue HOT 1
- [watchAdvertisements] Support Extended Advertising HOT 8
- can't access services list on some devices HOT 2
- Kerem
- Services not found (Primary detected as Secondary?) HOT 3
- Using Bluetooth from WebExtension HOT 1
- Permissions API Extension HOT 3
- Not working with MacOS Sonoma + Intel HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-bluetooth.