- From: Sami Jaber via GitHub <sysbot+gh@w3.org>
- Date: Fri, 11 Sep 2020 17:31:36 +0000
- To: public-web-bluetooth-log@w3.org
dngconsulting has just created a new issue for https://github.com/WebBluetoothCG/web-bluetooth: == Same Web BLE code but different behavior between Chrome Desktop and Chrome Mobile == Maybe related to Chromium but probably an issue with the specification or something I miss. Please tell me if you'd prefer I fill a bug in chromium. I have the same basic code that issue multiple startNotification() for multiple different characteristics of the same service (or different services). ` characteristic1.startNotifications().then(()=>{ characteristic1.addEventListener('characteristicvaluechanged', event => { console.log('Got an Event from CAR 1'); }); }); characteristic2.startNotifications().then(()=>{ characteristic2.addEventListener('characteristicvaluechanged', event => { console.log('Got an Event from CAR 2'); }); }); ` When I run this code on Chrome Desktop, it works perfectly, I get notifications for both caracs. But when I run it on Chrome Mobile, I get the first notifications for carac 1 and nothing for carac 2. The first wins. It there any known bug on that issue ? It is exactly the same chrome version and the same code, only the device type change ... Thanks for any support Sami Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/516 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 11 September 2020 17:31:38 UTC