-
Notifications
You must be signed in to change notification settings - Fork 63
Bluetooth unavailable message #53
Bluetooth unavailable message #53
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎈🐐 looks great to me!
@@ -1195,6 +1195,9 @@ | |||
/* Long description of an unknown bluetooth sensor displayed below a representative image on the Learn More page [CHAR_LIMIT=NONE] */ | |||
"sensor_desc_second_paragraph_unknown_bluetooth" = "Bluetooth is a wireless technology standard using radio waves to exchange data over short distances from fixed and mobile devices."; | |||
|
|||
/* Message to display to the user when bluetooth is not on but a bluetooth sensor is in the experiment on Observe [CHAR_LIMIT=200] */ | |||
"bluetooth_not_on_body" = "Cannot connect to external sensor: Bluetooth is disabled. Turn on Bluetooth to connect to your external sensor."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: We tend to use _message
in the key of strings that will be presented to the user in an alert or snackbar. Can you make the key bluetooth_hardware_disabled_message
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes sure will change that.
@@ -1195,6 +1195,9 @@ | |||
/* Long description of an unknown bluetooth sensor displayed below a representative image on the Learn More page [CHAR_LIMIT=NONE] */ | |||
"sensor_desc_second_paragraph_unknown_bluetooth" = "Bluetooth is a wireless technology standard using radio waves to exchange data over short distances from fixed and mobile devices."; | |||
|
|||
/* Message to display to the user when bluetooth is not on but a bluetooth sensor is in the experiment on Observe [CHAR_LIMIT=200] */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for a bit of clarity, how about:
/* Message to display to the user when Bluetooth is disabled but a Bluetooth sensor is listed in sensor settings because it has been connected in the past.
…of showing bluetooth unavailable message always when the list refreshes
Checklist
Motivation and Context
been raised an issue on github.
#25
Description
now a snackbar appears on sensor settings view when the bluetooth is not available.
I ran the feature on my device, made sure it works fine.
I ran related tests on Xcode.