mirror of
https://github.com/Termix-SSH/Mobile.git
synced 2026-07-28 05:51:43 +02:00
385ae29a35
* feat: SSH session persistence across app background/foreground (#8) * fix: ipad keyboard issue + paste key not wokring and disabled auto correct * fix: ipad keyboard issues * fix: ipad styling issues, emoji/voice dictation support, android keyboard issues * fix: ipad styling issues * feat: add debuging to fix ipad keyboard margins * fix: handle physical keyboard special keys in terminal (#6) * feat: add iPadOS build workflow without EAS dependency (#4) * fix: handle physical keyboard special keys in terminal Tab, Escape, and arrow keys from physical keyboards were filtered out by the key.length === 1 check. Add explicit handling like Enter/Backspace. * feat: add iOS native Shift+Tab support via UIKeyCommand Add Expo native module that uses UIKeyCommand + method swizzling to intercept Shift+Tab on iOS hardware keyboards and forward the backtab escape sequence (\x1b[Z]) to the active terminal. --------- Co-authored-by: swing <bestswngs@gmail.com> Co-authored-by: Luke Gustafson <88517757+LukeGus@users.noreply.github.com> * feat: improve ipad ui logic and improve external keyboard handling * feat: fix arrow keys and modifier keys on hardware keybords * fix: fix arrow keys and modifier keys on hardware keybords * feat: add voice over support and improved terminal background conneciton * feat: add missing files * feat: add host key verification support * fix: dictation issues + android IME multi character input issues on android * fix: none auth hosts * chore: clean * chore: update readme * feat: add SSH session persistence for background/foreground transitions Adapt the mobile client to the server-side session persistence protocol (Termix PR #594). When the app goes to background and the WebSocket dies, the server keeps the SSH session alive. On foreground return, the client sends attachSession instead of connectToHost, reattaching to the existing session with buffered output replay. - Track server sessionId from sessionCreated messages - Send attachSession on reconnect when a sessionId exists - Handle sessionExpired with automatic fallback to fresh connectToHost - Handle sessionTakenOver for multi-device scenarios - Send explicit disconnect on destroy to clean up server sessions - Skip terminal clear and post-connection setup on reattach --------- Co-authored-by: LukeGus <bugattiguy527@gmail.com> Co-authored-by: swing <bestswngs@gmail.com> Co-authored-by: Luke Gustafson <88517757+LukeGus@users.noreply.github.com> * fix: clear terminal after reconnecting and fix letter duplcation * chore: increment ver * fix: use new 2.0.0 api routes and filter non ssh hosts * chore: increment ver --------- Co-authored-by: ZacharyZcR <PayasoNorahC@protonmail.com> Co-authored-by: swing <bestswngs@gmail.com>