You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Android dialogs stop appearing after the activity is replaced #22127
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/mobile
Steps to reproduce
On Android, open the T3 Code app.
Replace the running activity without killing the process, for example: adb shell am start -W -n com.t3tools.t3code.dev/.MainActivity -f 0x10008000 (NEW_TASK | CLEAR_TASK).
Open Settings → Environments → an environment → expand Connection → tap the trash icon.
Expected behavior
"Remove from this device?" appears.
Actual behavior
Nothing happens. No dialog, no error. Every Android Dialog.alert, Dialog.confirm and Dialog.prompt stays silent until the app process restarts.
Dialog.android.tsx keeps one module-level presentRequest. Each Dialog.Host sets it on mount and clears it in its effect cleanup. When Android replaces the activity, the new React root's Host registers before the old root unmounts, so the old Host's cleanup clears the new Host's presenter. Logged on device:
register host 31j2v, root 11, previous true
cleanup host rxca0, root 1, owns false
dialog.alert "Remove from this device?" NO HOST
Activity