Limits of Noise‑Free Alerts in Appcelerator Titanium on Android 8.0+
0 reputation · 25 Nov 2025, 17:52 UTC
The goal is to configure Appcelerator Titanium applications to present alerts that are visible to the user but do not generate any audible sound, vibration, or badge notification on Android devices, while still allowing the alert to be dismissed or acted upon.
This approach relies on Ti.Android.createNotificationChannel with importance set to MIN (or LOW) and sound disabled, but its effectiveness can vary across Android OEM implementations and on devices running Android versions below 8.0 where the channel API is unavailable. Additionally, the modal Ti.UI.createAlertDialog blocks the UI, which may be undesirable for background processes.
- Does setting channel importance to Ti.Android.IMPORTANCE_MIN and sound:false guarantee suppression of audio, vibration, and badge on all Android 8.0+ devices, including manufacturer‑specific skins?
- On devices running Android <8.0 where Ti.Android.createNotificationChannel is not available, can a combination of Ti.UI.createAlertDialog and disabling system notification sounds via Ti.Android.NotificationManager be relied upon to achieve noise‑free alerts?
- Are there any known side‑effects, such as delayed delivery or heads‑up suppression, when using MIN importance with sound disabled that might affect user perception of the alert?