ToastAndroid undefined on iOS limits cross-platform silent alerts
0 reputation · 25 May 2023, 06:37 UTC
The goal is to deliver a silent visual alert on iOS that matches the sound‑free, non‑modal behavior of Android's ToastAndroid, without invoking modal dialogs or audible cues. On Android, ToastAndroid provides brief messages with no sound and no user dismissal required, but it is unavailable on iOS and may be suppressed by Do Not Disturb mode.
The Alert dialog component presents a modal system UI that users perceive as notification noise, especially when repeated, and the documentation does not offer a quiet‑mode prop or visual‑only configuration. React Native's AccessibilityInfo API can forward alerts to screen readers, yet no documented method exists to suppress the associated spoken feedback while retaining visual output.
These platform‑specific gaps create uncertainty about a unified silent‑alert strategy. Can a reliable iOS‑compatible API deliver silent visual alerts equivalent to ToastAndroid? Is it possible to configure AccessibilityInfo to announce alerts to screen readers while suppressing audible feedback? Can the Alert dialog be presented in a non‑modal, quiet manner on iOS without triggering system noise?