-
-
Notifications
You must be signed in to change notification settings - Fork 673
Open
dashwave-test/zulip-mobile
#15Labels
Description
This is a followup to #5344 (once that upgrade is done, as in #5610.) We have the following TODO-react-native comments in OfflineNoticeProvider.js:
// TODO(react-native-68): Use announceForAccessibilityWithOptions to
// queue this behind any in-progress announcements
AccessibilityInfo.announceForAccessibility(_('Zulip’s Internet connection is uncertain.'));
// …
// TODO(react-native-68): Use announceForAccessibilityWithOptions to
// queue this behind any in-progress announcements
AccessibilityInfo.announceForAccessibility(_('Zulip is online.'));
That's referring to this new feature in RN v0.68:
https://reactnative.dev/docs/0.68/AccessibilityInfo#announceforaccessibilitywithoptions
By default announcements will interrupt any existing speech, but on iOS they can be queued behind existing speech by setting
queue
totrue
in the options object.
That would be a nice, small, polish tweak.