mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-14 10:35:11 +00:00
Clarify why bluetooth may not be available
On iOS `getAvailability()` returns false if the app does not have permission to use the bluetooth adapter (which is what the spec says it should do if permission has not been granted), so clarify the reason for it not being available. Also add a sneaky reference to WebBLE as a supported browser on iOS.
This commit is contained in:
committed by
David Lechner
parent
c209b4f823
commit
64d489de60
@@ -6,9 +6,9 @@
|
||||
"action": "More Info"
|
||||
},
|
||||
"bluetoothNotAvailable": {
|
||||
"message": "No Bluetooth adapter could be found.",
|
||||
"suggestion": "Please connect or enable a Bluetooth Low Energy adapter and restart the browser.",
|
||||
"browserSupport": "Some browsers like Brave and Opera do not support Web Bluetooth. Be sure to use a supported browser such as Chrome or Edge."
|
||||
"message": "No Bluetooth adapter could be found or permission to use it has not been granted.",
|
||||
"suggestion": "Please connect or enable a Bluetooth Low Energy adapter, ensure your browser has permission to use it and restart the browser.",
|
||||
"browserSupport": "Some browsers like Brave and Opera do not support Web Bluetooth. Be sure to use a supported browser such as Chrome, Edge or on iOS WebBLE."
|
||||
},
|
||||
"noGatt": {
|
||||
"message": "The web browser did not give permission to use Bluetooth Low Energy."
|
||||
|
||||
Reference in New Issue
Block a user