From 64d489de60f792309581e5dd2cba9f6abbcbd912 Mon Sep 17 00:00:00 2001 From: David Park Date: Thu, 14 Sep 2023 14:25:08 +0100 Subject: [PATCH] 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. --- src/ble/alerts/translations/en.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ble/alerts/translations/en.json b/src/ble/alerts/translations/en.json index be7c2645..0924cca1 100644 --- a/src/ble/alerts/translations/en.json +++ b/src/ble/alerts/translations/en.json @@ -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."