Skip to content

Conversation

scheib
Copy link
Contributor

@scheib scheib commented Jan 12, 2017

The hack 'anyDeviceFilter' is no longer necessary now that
request device supports acceptAllDevices.

The hack 'anyDeviceFilter' is no longer necessary now that
request device supports acceptAllDevices.
@beaufortfrancois
Copy link
Member

beaufortfrancois commented Jan 12, 2017 via email

@scheib
Copy link
Contributor Author

scheib commented Jan 14, 2017 via email

@@ -161,7 +153,7 @@
throw "No Web Bluetooth support.";

return navigator.bluetooth.requestDevice({
filters: anyDeviceFilter(),
acceptAllDevices:true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mind adding a comment like https://github.com/GoogleChrome/samples/pull/458/files#diff-ef7cbca5c52cb429b47a308074bf06bcR7?

+     // filters: [...] <- Prefer filters to save energy & show relevant devices.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants