Repository navigation
chore(deps): bump react-native-screens to 4.28.0 - #7709
Merged
diegolmello merged 1 commit intoSep 18, 2026
Merged
diegolmello merged 1 commit into
diegolmello merged 1 commit into
Conversation
Contributor
|
Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
diegolmello
merged commit Sep 18, 2026
18d5f9d
into
diegolmello/native-1561-rn-upgrade
5 of 6 checks passed
diegolmello
deleted the
diegolmello/native-1660-bump-react-native-screens
branch
September 18, 2026 17:10
diegolmello
had a problem deploying
to
approve_e2e_testing
September 18, 2026 17:14 — with
GitHub Actions
Failure
diegolmello
had a problem deploying
to
ios_build
September 18, 2026 17:19 — with
GitHub Actions
Failure
diegolmello
had a problem deploying
to
android_build
September 18, 2026 17:19 — with
GitHub Actions
Failure
diegolmello
added a commit
that referenced
this pull request
Sep 30, 2026
* chore: replace react-native-restart with expo reloadAppAsync * chore: replace react-native-background-timer with setInterval * chore: bump react-native-localize to 3.7.0 * chore: replace react-native-file-viewer with expo-quick-look * chore: migrate from expo-av to expo-audio and expo-video (#6719) * chore: bump react-native-mmkv and react-native-nitro-modules * chore: drop dead react-native-mmkv patch and tighten its jest mock * chore: RN 0.86 / Expo 57 dependencies, toolchain and patches (#7693) * chore: upgrade dependencies and patches to RN 0.86 / Expo 57 * chore: align upgrade toolchain floors and CI checks * chore: update Jest toolchain for RN 0.86 and Expo 57 * fix: adapt app code to React Native 0.86 and Expo 57 (#7694) * fix: adapt app code to React Native 0.86 and Expo 57 * test: await scheduled gesture and floating date callbacks * fix(ios): support React Native 0.86 and Expo 57 (#7696) * fix(ios): support React Native 0.86 and Expo 57 * test: fix jest failures under Node 22 Resolve Expo's lazy fetch global in jest setup so suites that fully mock react-native no longer crash when jest enumerates globals at teardown. Restore real timers only after Testing Library unmounts, so immediates scheduled with fake timers are cancelled with the same clock. * fix(android): adopt Expo 57 autolinking plugin and drop jcenter from patched libraries Expo 57 removed scripts/autolinking.gradle in favour of the expo-autolinking-settings and expo-root-project Gradle plugins. Gradle 9 removed jcenter(), which @react-native-cookies/cookies and react-native-math-view still declared. Bump the iOS Pods cache key so runners stop restoring Local Podspecs generated for the previous React Native version. * fix(android): build with React Native 0.86 codegen and Expo 57 prebuilt modules Bump @react-native/codegen, babel-preset and typescript-config to 0.86.3 so libraries stop resolving the stale 0.80 codegen. Build the four patched Expo packages from source, since Expo 57 ships prebuilt Android artifacts that ignore patch-package changes. Patch camera-roll to drop string literal unions from its spec, keyboard-controller for the non-null onConfigurationChanged signature, math-view to drop the removed UIManagerModuleListener import, and expo-font for the nullable loadedFonts field. Declare androidx.localbroadcastmanager explicitly and resolve the WRITE_EXTERNAL_STORAGE maxSdkVersion manifest conflict. * fix: drop undefined request headers rejected by Expo fetch Expo 57 installs its native fetch as the global and rejects header entries whose value is undefined. getServerInfo sent X-Auth-Token and X-User-Id as undefined before login, so every deep link login fell back to the Add workspace screen and all E2E flows failed. * test(e2e): wait for LoginView transition before keyboard navigation * fix(login): keep focus on the password field when submitting with a hardware keyboard * fix(ios): compile the release bundle with the hermesc matching the bundled Hermes runtime * fix(ios): expose room header testIDs to accessibility tree An accessible wrapper around the room header hides its children from XCUITest on React Native 0.86, so Maestro could not find the header title or the header button. Move the accessibility label and role to the pressable header, which already exposes its children. * fix(ios): expose rooms list header testIDs to accessibility tree Same cause as the room header: an accessible wrapper inside the native stack header hides its children from XCUITest, so Maestro could not find the servers list button. * fix(ios): bump react-native-linear-gradient to 2.8.3 to stop zero-size layer crash on mention autocomplete * fix(ios): address upgrade review feedback * fix(ios): exclude Android keyboard flow change * fix: update Android build for React Native 0.86 (#7695) * fix: update Android build for React Native 0.86 * fix: restore Android Gradle 9 compatibility * fix: align React Native codegen version * fix: resolve Android storage permission merge * fix: patch Android modules for React Native 0.86 * fix: restore Android local broadcast dependency * fix: build patched Expo modules from source * fix: raise iOS deployment target to 16.4 for Expo 57 * fix: materialize expo fetch global before jest mocks * fix: keep setImmediate real under jest fake timers * fix: key iOS pods cache by Podfile.lock hash * fix: allow non-modular React includes in framework modules * fix: drop undefined header values before fetch expo/fetch, installed as the global fetch on native by Expo 57, forwards header entries to the native request verbatim, so an undefined value fails the Kotlin cast to Pair<String, String> and rejects the whole request. * fix: build React-Core from source instead of prebuilt * fix: match Expo import access level with generated provider * fix: adopt Expo 57 AppDelegate contract * fix: compile Hermes bytecode with the legacy compiler * fix: expose header test ids on iOS * fix: expose team channels header test id * fix: remove iOS changes from Android upgrade * ci: make TypeScript check blocking again * fix: restore default submit behavior on login email field * fix: keep test identifiers on iOS accessibility elements * fix: expose test identifiers on accessible elements * fix: keep a single test identifier per element * fix: remove OrSeparator from accessibility focus chain * chore(ios): re-enable prebuilt React-Core and Hermes V1 (#7698) Removed the three Podfile opt-outs (RCT_USE_PREBUILT_RNCORE, RCT_USE_RN_DEP, RCT_HERMES_V1_ENABLED) and the HERMES_CLI_PATH post_install override, letting React Native 0.86 use its prebuilt React-Core/ReactNativeDependencies tarball and Hermes V1 (250829098.0.17) instead of building from source. Dropped the RCTViewManager accessibility-role patch: it only touched the Paper renderer, the app runs on Fabric, and the file no longer compiles under prebuilt Core. VoiceOver role-update behavior is covered by manual smoke testing, not this patch. RNFB pods forced to static libraries in the pre_install hook to avoid a non-modular-include failure on RNFB 21.x; the fix ships in react-native-firebase >= 26.3.0, so this can be dropped on that bump. SocketRocket now ships vendored inside the ReactNativeDependencies xcframework under a namespaced header path, so SSLPinning.mm's import changed from a flat "SRWebSocket.h" to <SocketRocket/SRWebSocket.h>. Copy Pods Resources phases regenerated by pod install, dropping the boost/glog/RCT-Folly privacy bundles that no longer exist as separate pods. * fix(e2e): anchor keyboard navigation login on focus (#7703) * fix(e2e): reach login email field by focus instead of Dpad count The keyboard navigation onboarding flow walked to the email field with four blind Remote Dpad Down presses. Removing the decorative OR separator from the accessibility focus chain shortened the chain by one, so the email was typed into the password field and the password into the email field, and login was never submitted. Press Down until login-view-email reports focused, bounded by times: 10, and assert focus before typing. Maestro returns normally when a repeat bound is exhausted, so without the assertion an over-long chain would fail later at the rooms-list-view wait with an unrelated error. The separator only renders when totalServices > 0, so the chain length depends on server config and no fixed count is correct. * fix(e2e): reach password and submit by focus, hide keyboard first Anchoring the email field exposed two more blind steps in the same flow. The hop to the password field assumed Enter moves focus, and the submit assumed Enter on the password field logs in. Neither had been exercised before, because the flow failed earlier. Press Down until each target reports focused, bounded and asserted like the email field. The submit loop needs the soft keyboard hidden first: with the keyboard up the Dpad presses go to the input method and never reach the login screen, so the submit button is never focused. * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 (#7706) * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 Reanimated 4.6.0 requires react-native-worklets 0.12.x, so both move together. Worklets drops its caret to match reanimated's exact pin. Reanimated 4.6.0 initializes CSS event handling at import time, which the JS-only fallback used by Jest does not implement, so the mock entry point throws on load. Stubbing setCSSEventHandler at its source keeps the rest of the proxy module real. * chore(ios): update Podfile.lock for reanimated and worklets CocoaPods preserves versions already in Podfile.lock, so pod install would not have picked these up on its own. * chore(ios): bump ffi to 1.17.4 for Xcode 27 compatibility * chore(deps): bump react-native-screens to 4.28.0 (#7709) * chore(deps): bump @react-navigation family (#7710) * chore(deps): bump react-native-safe-area-context to 5.10.0 (#7711) * fix(ios): adopt UIScene lifecycle for iOS 27 iOS 27 SDK requires scene-based app lifecycle. The app now uses Expo's ExpoAppSceneDelegate via a new SceneDelegate, with startReactNative and boot splash initialization moved out of the app delegate into the scene delegate. * fix(android): stop gesture-handler buttons hijacking hardware Enter/D-pad The RN 0.86 gesture-handler bump added an Android-only onKeyUp override that intercepts DPAD_CENTER/ENTER/SPACE and activates whichever button currently holds native view focus, bypassing the default performClick() path. Every composer and header icon button is a BorderlessButton, so this silently fired the wrong button (e.g. the header drawer button) on hardware Enter/D-pad and swallowed the key event elsewhere. Removed the hunk; the iOS press-handling hunk is untouched. * fix(a11y): close drawer when navigating to the focused sidebar route (#7717) * fix(a11y): close drawer when navigating to the focused sidebar route Tapping a sidebar entry for the route already focused left the drawer open, because the drawer router only closes it when the focused index changes. Subsequent taps were swallowed by the drawer scrim. * chore(e2e): map ToastsAndDialogs flow to SidebarView The flow reaches Accessibility & appearance through the sidebar, so a change under app/views/SidebarView can break it. Without this the impact analysis never selects its shard for sidebar-only changes. * ci(ios): restore Xcode version pin * ci(ios): pin Xcode 26.6 * chore: tidy RN 0.86 upgrade leftovers * chore(deps): upgrade react-native-gesture-handler to 3.3.0 (#7726) * chore(deps): bump react-native-gesture-handler to 3.3.0 * refactor: migrate gestures to the gesture handler 3 hook API * refactor: replace deprecated gesture handler buttons with Touchable * chore(ios): update Podfile.lock for react-native-gesture-handler 3.3.0 * fix: restore disabled state on Touch after gesture handler 3 migration * fix(android): enable nested scroll on reactions lists inside the action sheet * fix(android): activate focused gesture-handler buttons on hardware Enter/D-pad * test: refresh audio button snapshots after gesture handler upgrade * fix: restore React Native Gradle plugin composite build --------- Co-authored-by: OtavioStasiak <otaviostasiakmusic@outlook.com>
diegolmello
added a commit
that referenced
this pull request
Sep 30, 2026
* chore: replace react-native-restart with expo reloadAppAsync * chore: replace react-native-background-timer with setInterval * chore: bump react-native-localize to 3.7.0 * chore: replace react-native-file-viewer with expo-quick-look * chore: migrate from expo-av to expo-audio and expo-video (#6719) * chore: bump react-native-mmkv and react-native-nitro-modules * chore: drop dead react-native-mmkv patch and tighten its jest mock * chore: RN 0.86 / Expo 57 dependencies, toolchain and patches (#7693) * chore: upgrade dependencies and patches to RN 0.86 / Expo 57 * chore: align upgrade toolchain floors and CI checks * chore: update Jest toolchain for RN 0.86 and Expo 57 * fix: adapt app code to React Native 0.86 and Expo 57 (#7694) * fix: adapt app code to React Native 0.86 and Expo 57 * test: await scheduled gesture and floating date callbacks * fix(ios): support React Native 0.86 and Expo 57 (#7696) * fix(ios): support React Native 0.86 and Expo 57 * test: fix jest failures under Node 22 Resolve Expo's lazy fetch global in jest setup so suites that fully mock react-native no longer crash when jest enumerates globals at teardown. Restore real timers only after Testing Library unmounts, so immediates scheduled with fake timers are cancelled with the same clock. * fix(android): adopt Expo 57 autolinking plugin and drop jcenter from patched libraries Expo 57 removed scripts/autolinking.gradle in favour of the expo-autolinking-settings and expo-root-project Gradle plugins. Gradle 9 removed jcenter(), which @react-native-cookies/cookies and react-native-math-view still declared. Bump the iOS Pods cache key so runners stop restoring Local Podspecs generated for the previous React Native version. * fix(android): build with React Native 0.86 codegen and Expo 57 prebuilt modules Bump @react-native/codegen, babel-preset and typescript-config to 0.86.3 so libraries stop resolving the stale 0.80 codegen. Build the four patched Expo packages from source, since Expo 57 ships prebuilt Android artifacts that ignore patch-package changes. Patch camera-roll to drop string literal unions from its spec, keyboard-controller for the non-null onConfigurationChanged signature, math-view to drop the removed UIManagerModuleListener import, and expo-font for the nullable loadedFonts field. Declare androidx.localbroadcastmanager explicitly and resolve the WRITE_EXTERNAL_STORAGE maxSdkVersion manifest conflict. * fix: drop undefined request headers rejected by Expo fetch Expo 57 installs its native fetch as the global and rejects header entries whose value is undefined. getServerInfo sent X-Auth-Token and X-User-Id as undefined before login, so every deep link login fell back to the Add workspace screen and all E2E flows failed. * test(e2e): wait for LoginView transition before keyboard navigation * fix(login): keep focus on the password field when submitting with a hardware keyboard * fix(ios): compile the release bundle with the hermesc matching the bundled Hermes runtime * fix(ios): expose room header testIDs to accessibility tree An accessible wrapper around the room header hides its children from XCUITest on React Native 0.86, so Maestro could not find the header title or the header button. Move the accessibility label and role to the pressable header, which already exposes its children. * fix(ios): expose rooms list header testIDs to accessibility tree Same cause as the room header: an accessible wrapper inside the native stack header hides its children from XCUITest, so Maestro could not find the servers list button. * fix(ios): bump react-native-linear-gradient to 2.8.3 to stop zero-size layer crash on mention autocomplete * fix(ios): address upgrade review feedback * fix(ios): exclude Android keyboard flow change * fix: update Android build for React Native 0.86 (#7695) * fix: update Android build for React Native 0.86 * fix: restore Android Gradle 9 compatibility * fix: align React Native codegen version * fix: resolve Android storage permission merge * fix: patch Android modules for React Native 0.86 * fix: restore Android local broadcast dependency * fix: build patched Expo modules from source * fix: raise iOS deployment target to 16.4 for Expo 57 * fix: materialize expo fetch global before jest mocks * fix: keep setImmediate real under jest fake timers * fix: key iOS pods cache by Podfile.lock hash * fix: allow non-modular React includes in framework modules * fix: drop undefined header values before fetch expo/fetch, installed as the global fetch on native by Expo 57, forwards header entries to the native request verbatim, so an undefined value fails the Kotlin cast to Pair<String, String> and rejects the whole request. * fix: build React-Core from source instead of prebuilt * fix: match Expo import access level with generated provider * fix: adopt Expo 57 AppDelegate contract * fix: compile Hermes bytecode with the legacy compiler * fix: expose header test ids on iOS * fix: expose team channels header test id * fix: remove iOS changes from Android upgrade * ci: make TypeScript check blocking again * fix: restore default submit behavior on login email field * fix: keep test identifiers on iOS accessibility elements * fix: expose test identifiers on accessible elements * fix: keep a single test identifier per element * fix: remove OrSeparator from accessibility focus chain * chore(ios): re-enable prebuilt React-Core and Hermes V1 (#7698) Removed the three Podfile opt-outs (RCT_USE_PREBUILT_RNCORE, RCT_USE_RN_DEP, RCT_HERMES_V1_ENABLED) and the HERMES_CLI_PATH post_install override, letting React Native 0.86 use its prebuilt React-Core/ReactNativeDependencies tarball and Hermes V1 (250829098.0.17) instead of building from source. Dropped the RCTViewManager accessibility-role patch: it only touched the Paper renderer, the app runs on Fabric, and the file no longer compiles under prebuilt Core. VoiceOver role-update behavior is covered by manual smoke testing, not this patch. RNFB pods forced to static libraries in the pre_install hook to avoid a non-modular-include failure on RNFB 21.x; the fix ships in react-native-firebase >= 26.3.0, so this can be dropped on that bump. SocketRocket now ships vendored inside the ReactNativeDependencies xcframework under a namespaced header path, so SSLPinning.mm's import changed from a flat "SRWebSocket.h" to <SocketRocket/SRWebSocket.h>. Copy Pods Resources phases regenerated by pod install, dropping the boost/glog/RCT-Folly privacy bundles that no longer exist as separate pods. * fix(e2e): anchor keyboard navigation login on focus (#7703) * fix(e2e): reach login email field by focus instead of Dpad count The keyboard navigation onboarding flow walked to the email field with four blind Remote Dpad Down presses. Removing the decorative OR separator from the accessibility focus chain shortened the chain by one, so the email was typed into the password field and the password into the email field, and login was never submitted. Press Down until login-view-email reports focused, bounded by times: 10, and assert focus before typing. Maestro returns normally when a repeat bound is exhausted, so without the assertion an over-long chain would fail later at the rooms-list-view wait with an unrelated error. The separator only renders when totalServices > 0, so the chain length depends on server config and no fixed count is correct. * fix(e2e): reach password and submit by focus, hide keyboard first Anchoring the email field exposed two more blind steps in the same flow. The hop to the password field assumed Enter moves focus, and the submit assumed Enter on the password field logs in. Neither had been exercised before, because the flow failed earlier. Press Down until each target reports focused, bounded and asserted like the email field. The submit loop needs the soft keyboard hidden first: with the keyboard up the Dpad presses go to the input method and never reach the login screen, so the submit button is never focused. * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 (#7706) * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 Reanimated 4.6.0 requires react-native-worklets 0.12.x, so both move together. Worklets drops its caret to match reanimated's exact pin. Reanimated 4.6.0 initializes CSS event handling at import time, which the JS-only fallback used by Jest does not implement, so the mock entry point throws on load. Stubbing setCSSEventHandler at its source keeps the rest of the proxy module real. * chore(ios): update Podfile.lock for reanimated and worklets CocoaPods preserves versions already in Podfile.lock, so pod install would not have picked these up on its own. * chore(ios): bump ffi to 1.17.4 for Xcode 27 compatibility * chore(deps): bump react-native-screens to 4.28.0 (#7709) * chore(deps): bump @react-navigation family (#7710) * chore(deps): bump react-native-safe-area-context to 5.10.0 (#7711) * fix(ios): adopt UIScene lifecycle for iOS 27 iOS 27 SDK requires scene-based app lifecycle. The app now uses Expo's ExpoAppSceneDelegate via a new SceneDelegate, with startReactNative and boot splash initialization moved out of the app delegate into the scene delegate. * fix(android): stop gesture-handler buttons hijacking hardware Enter/D-pad The RN 0.86 gesture-handler bump added an Android-only onKeyUp override that intercepts DPAD_CENTER/ENTER/SPACE and activates whichever button currently holds native view focus, bypassing the default performClick() path. Every composer and header icon button is a BorderlessButton, so this silently fired the wrong button (e.g. the header drawer button) on hardware Enter/D-pad and swallowed the key event elsewhere. Removed the hunk; the iOS press-handling hunk is untouched. * fix(room-list): close other swiped room items when a new one opens Track the currently open swipeable room item in a single UI-thread mutable value (openSwipeItemId) instead of per-item state. Every Touchable reacts to that value and springs itself closed once another row claims it, so only one room can be swiped open at a time. Tapping a room, long-pressing it, or opening its own actions all clear or reassign ownership. Also replaces the abrupt default spring with an explicit, softer config (damping/mass/stiffness) shared by every open/close animation. * test(room-list): drop tautological swipe test, keep mock reverted openSwipeItem.test.ts only asserted that a shared value keeps what was written to it, which added no coverage. GestureDetector/pan behavior isn't exercisable through the existing jest reanimated mocks (useAnimatedReaction is a no-op), so a real cross-row close test isn't practical here without a broader mocking change. Revert the makeMutable jest mock added for that test since nothing else in the suite needs it. * fix(room-list): close open row on press-in of another row * wip: gesture manual restructuring attempt (bisect checkpoint) * fix(room-list): close open swipe row via plain JS registry * fix(room-list): swallow tap that only closes another open row * fix(room-list): close other row's swipe animation from the UI thread Route the cross-row close through a Reanimated shared-value registry so tapping row 2 starts row 1's spring close synchronously on the UI thread, from the pan gesture's onBegin worklet, instead of waiting for a JS-thread hop via scheduleOnRN. The JS-thread round trip could be delayed by other work on that thread, stalling the animation partway through and making it finish as a single jump instead of a smooth spring. * feat(room-list): WhatsApp-style swipe actions and release spring * fix(room-list): match left action width and tighten swipe release rules Left action opens to one action width like each right action. Haptic on the full-swipe threshold fires on both sides and only while the finger is down. Release opens a side only past half an action width; an open row stays open unless swiped fully closed. Release decision extracted to getSwipeRelease with tests. * fix(room-list): refresh row when its record changes Row read state, title, avatar and invite state now come from a useSyncExternalStore subscription to the record, since the compiler cached them on the in-place mutated record. The custom memo comparator is removed. Thread unreads count as unread, matching the badge. * refactor(room-list): write gesture flag with shared value set * fix(a11y): close drawer when navigating to the focused sidebar route (#7717) * fix(a11y): close drawer when navigating to the focused sidebar route Tapping a sidebar entry for the route already focused left the drawer open, because the drawer router only closes it when the focused index changes. Subsequent taps were swallowed by the drawer scrim. * chore(e2e): map ToastsAndDialogs flow to SidebarView The flow reaches Accessibility & appearance through the sidebar, so a change under app/views/SidebarView can break it. Without this the impact analysis never selects its shard for sidebar-only changes. * fix(room-list): show selected room tint only in master-detail On iPhone the row got the tablet selected-room tint while the room was subscribed, so a tap flashed a second time before navigating and the row stayed tinted during the interactive back-swipe. * fix(room-list): re-render row on every record change * fix(room-list): read swipe offset from shared value * test(room-list): assert close resets translation * refactor(room-list): observe row record without opting out of the compiler * fix(room-list): reset closed-row tap guard on every touch * fix(room-list): close previously open row when another row opens * refactor(room-list): address review feedback * ci(ios): restore Xcode version pin * ci(ios): pin Xcode 26.6 * perf(room-list): mount swipe actions only while the row is moved * chore: tidy RN 0.86 upgrade leftovers * chore(deps): upgrade react-native-gesture-handler to 3.3.0 (#7726) * chore(deps): bump react-native-gesture-handler to 3.3.0 * refactor: migrate gestures to the gesture handler 3 hook API * refactor: replace deprecated gesture handler buttons with Touchable * chore(ios): update Podfile.lock for react-native-gesture-handler 3.3.0 * fix: restore disabled state on Touch after gesture handler 3 migration * fix(android): enable nested scroll on reactions lists inside the action sheet * fix(android): activate focused gesture-handler buttons on hardware Enter/D-pad * test: refresh audio button snapshots after gesture handler upgrade * fix: restore React Native Gradle plugin composite build * refactor(RoomItem): settle swipe on the UI thread and mirror it in RTL Derive the open side from the resting offset instead of a separate row state, release and register the row inside the gesture worklet, fire the threshold haptic from the pan update, and flip gesture input and output once for right-to-left layouts. Drop the duplicate long-press gesture and skip the snapshot rebuild on the record's initial emission. * fix(RoomItem): close the open row when a swipe-disabled row is tapped * refactor(RoomItem): move swipe utils and room snapshot hook into subfolders --------- Co-authored-by: OtavioStasiak <otaviostasiakmusic@outlook.com>
OtavioStasiak
added a commit
that referenced
this pull request
Nov 4, 2026
* chore: upgrade to React Native 0.86 / Expo SDK 57 (#7691) * chore: replace react-native-restart with expo reloadAppAsync * chore: replace react-native-background-timer with setInterval * chore: bump react-native-localize to 3.7.0 * chore: replace react-native-file-viewer with expo-quick-look * chore: migrate from expo-av to expo-audio and expo-video (#6719) * chore: bump react-native-mmkv and react-native-nitro-modules * chore: drop dead react-native-mmkv patch and tighten its jest mock * chore: RN 0.86 / Expo 57 dependencies, toolchain and patches (#7693) * chore: upgrade dependencies and patches to RN 0.86 / Expo 57 * chore: align upgrade toolchain floors and CI checks * chore: update Jest toolchain for RN 0.86 and Expo 57 * fix: adapt app code to React Native 0.86 and Expo 57 (#7694) * fix: adapt app code to React Native 0.86 and Expo 57 * test: await scheduled gesture and floating date callbacks * fix(ios): support React Native 0.86 and Expo 57 (#7696) * fix(ios): support React Native 0.86 and Expo 57 * test: fix jest failures under Node 22 Resolve Expo's lazy fetch global in jest setup so suites that fully mock react-native no longer crash when jest enumerates globals at teardown. Restore real timers only after Testing Library unmounts, so immediates scheduled with fake timers are cancelled with the same clock. * fix(android): adopt Expo 57 autolinking plugin and drop jcenter from patched libraries Expo 57 removed scripts/autolinking.gradle in favour of the expo-autolinking-settings and expo-root-project Gradle plugins. Gradle 9 removed jcenter(), which @react-native-cookies/cookies and react-native-math-view still declared. Bump the iOS Pods cache key so runners stop restoring Local Podspecs generated for the previous React Native version. * fix(android): build with React Native 0.86 codegen and Expo 57 prebuilt modules Bump @react-native/codegen, babel-preset and typescript-config to 0.86.3 so libraries stop resolving the stale 0.80 codegen. Build the four patched Expo packages from source, since Expo 57 ships prebuilt Android artifacts that ignore patch-package changes. Patch camera-roll to drop string literal unions from its spec, keyboard-controller for the non-null onConfigurationChanged signature, math-view to drop the removed UIManagerModuleListener import, and expo-font for the nullable loadedFonts field. Declare androidx.localbroadcastmanager explicitly and resolve the WRITE_EXTERNAL_STORAGE maxSdkVersion manifest conflict. * fix: drop undefined request headers rejected by Expo fetch Expo 57 installs its native fetch as the global and rejects header entries whose value is undefined. getServerInfo sent X-Auth-Token and X-User-Id as undefined before login, so every deep link login fell back to the Add workspace screen and all E2E flows failed. * test(e2e): wait for LoginView transition before keyboard navigation * fix(login): keep focus on the password field when submitting with a hardware keyboard * fix(ios): compile the release bundle with the hermesc matching the bundled Hermes runtime * fix(ios): expose room header testIDs to accessibility tree An accessible wrapper around the room header hides its children from XCUITest on React Native 0.86, so Maestro could not find the header title or the header button. Move the accessibility label and role to the pressable header, which already exposes its children. * fix(ios): expose rooms list header testIDs to accessibility tree Same cause as the room header: an accessible wrapper inside the native stack header hides its children from XCUITest, so Maestro could not find the servers list button. * fix(ios): bump react-native-linear-gradient to 2.8.3 to stop zero-size layer crash on mention autocomplete * fix(ios): address upgrade review feedback * fix(ios): exclude Android keyboard flow change * fix: update Android build for React Native 0.86 (#7695) * fix: update Android build for React Native 0.86 * fix: restore Android Gradle 9 compatibility * fix: align React Native codegen version * fix: resolve Android storage permission merge * fix: patch Android modules for React Native 0.86 * fix: restore Android local broadcast dependency * fix: build patched Expo modules from source * fix: raise iOS deployment target to 16.4 for Expo 57 * fix: materialize expo fetch global before jest mocks * fix: keep setImmediate real under jest fake timers * fix: key iOS pods cache by Podfile.lock hash * fix: allow non-modular React includes in framework modules * fix: drop undefined header values before fetch expo/fetch, installed as the global fetch on native by Expo 57, forwards header entries to the native request verbatim, so an undefined value fails the Kotlin cast to Pair<String, String> and rejects the whole request. * fix: build React-Core from source instead of prebuilt * fix: match Expo import access level with generated provider * fix: adopt Expo 57 AppDelegate contract * fix: compile Hermes bytecode with the legacy compiler * fix: expose header test ids on iOS * fix: expose team channels header test id * fix: remove iOS changes from Android upgrade * ci: make TypeScript check blocking again * fix: restore default submit behavior on login email field * fix: keep test identifiers on iOS accessibility elements * fix: expose test identifiers on accessible elements * fix: keep a single test identifier per element * fix: remove OrSeparator from accessibility focus chain * chore(ios): re-enable prebuilt React-Core and Hermes V1 (#7698) Removed the three Podfile opt-outs (RCT_USE_PREBUILT_RNCORE, RCT_USE_RN_DEP, RCT_HERMES_V1_ENABLED) and the HERMES_CLI_PATH post_install override, letting React Native 0.86 use its prebuilt React-Core/ReactNativeDependencies tarball and Hermes V1 (250829098.0.17) instead of building from source. Dropped the RCTViewManager accessibility-role patch: it only touched the Paper renderer, the app runs on Fabric, and the file no longer compiles under prebuilt Core. VoiceOver role-update behavior is covered by manual smoke testing, not this patch. RNFB pods forced to static libraries in the pre_install hook to avoid a non-modular-include failure on RNFB 21.x; the fix ships in react-native-firebase >= 26.3.0, so this can be dropped on that bump. SocketRocket now ships vendored inside the ReactNativeDependencies xcframework under a namespaced header path, so SSLPinning.mm's import changed from a flat "SRWebSocket.h" to <SocketRocket/SRWebSocket.h>. Copy Pods Resources phases regenerated by pod install, dropping the boost/glog/RCT-Folly privacy bundles that no longer exist as separate pods. * fix(e2e): anchor keyboard navigation login on focus (#7703) * fix(e2e): reach login email field by focus instead of Dpad count The keyboard navigation onboarding flow walked to the email field with four blind Remote Dpad Down presses. Removing the decorative OR separator from the accessibility focus chain shortened the chain by one, so the email was typed into the password field and the password into the email field, and login was never submitted. Press Down until login-view-email reports focused, bounded by times: 10, and assert focus before typing. Maestro returns normally when a repeat bound is exhausted, so without the assertion an over-long chain would fail later at the rooms-list-view wait with an unrelated error. The separator only renders when totalServices > 0, so the chain length depends on server config and no fixed count is correct. * fix(e2e): reach password and submit by focus, hide keyboard first Anchoring the email field exposed two more blind steps in the same flow. The hop to the password field assumed Enter moves focus, and the submit assumed Enter on the password field logs in. Neither had been exercised before, because the flow failed earlier. Press Down until each target reports focused, bounded and asserted like the email field. The submit loop needs the soft keyboard hidden first: with the keyboard up the Dpad presses go to the input method and never reach the login screen, so the submit button is never focused. * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 (#7706) * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 Reanimated 4.6.0 requires react-native-worklets 0.12.x, so both move together. Worklets drops its caret to match reanimated's exact pin. Reanimated 4.6.0 initializes CSS event handling at import time, which the JS-only fallback used by Jest does not implement, so the mock entry point throws on load. Stubbing setCSSEventHandler at its source keeps the rest of the proxy module real. * chore(ios): update Podfile.lock for reanimated and worklets CocoaPods preserves versions already in Podfile.lock, so pod install would not have picked these up on its own. * chore(ios): bump ffi to 1.17.4 for Xcode 27 compatibility * chore(deps): bump react-native-screens to 4.28.0 (#7709) * chore(deps): bump @react-navigation family (#7710) * chore(deps): bump react-native-safe-area-context to 5.10.0 (#7711) * fix(ios): adopt UIScene lifecycle for iOS 27 iOS 27 SDK requires scene-based app lifecycle. The app now uses Expo's ExpoAppSceneDelegate via a new SceneDelegate, with startReactNative and boot splash initialization moved out of the app delegate into the scene delegate. * fix(android): stop gesture-handler buttons hijacking hardware Enter/D-pad The RN 0.86 gesture-handler bump added an Android-only onKeyUp override that intercepts DPAD_CENTER/ENTER/SPACE and activates whichever button currently holds native view focus, bypassing the default performClick() path. Every composer and header icon button is a BorderlessButton, so this silently fired the wrong button (e.g. the header drawer button) on hardware Enter/D-pad and swallowed the key event elsewhere. Removed the hunk; the iOS press-handling hunk is untouched. * fix(a11y): close drawer when navigating to the focused sidebar route (#7717) * fix(a11y): close drawer when navigating to the focused sidebar route Tapping a sidebar entry for the route already focused left the drawer open, because the drawer router only closes it when the focused index changes. Subsequent taps were swallowed by the drawer scrim. * chore(e2e): map ToastsAndDialogs flow to SidebarView The flow reaches Accessibility & appearance through the sidebar, so a change under app/views/SidebarView can break it. Without this the impact analysis never selects its shard for sidebar-only changes. * ci(ios): restore Xcode version pin * ci(ios): pin Xcode 26.6 * chore: tidy RN 0.86 upgrade leftovers * chore(deps): upgrade react-native-gesture-handler to 3.3.0 (#7726) * chore(deps): bump react-native-gesture-handler to 3.3.0 * refactor: migrate gestures to the gesture handler 3 hook API * refactor: replace deprecated gesture handler buttons with Touchable * chore(ios): update Podfile.lock for react-native-gesture-handler 3.3.0 * fix: restore disabled state on Touch after gesture handler 3 migration * fix(android): enable nested scroll on reactions lists inside the action sheet * fix(android): activate focused gesture-handler buttons on hardware Enter/D-pad * test: refresh audio button snapshots after gesture handler upgrade * fix: restore React Native Gradle plugin composite build --------- Co-authored-by: OtavioStasiak <otaviostasiakmusic@outlook.com> * chore: Bump version to 4.78.0 (#7748) * fix: preserve message content while sending file in encrypted channel (#7733) * feat: match e2e labels with web (#7731) * chore: match web copy for undecryptable e2e messages * tests * i18n * action: organized translations --------- Co-authored-by: OtavioStasiak <OtavioStasiak@users.noreply.github.com> * fix: room members list ignoring the "Use real name" setting (#7728) * fix: composer keeps its height after sending a multi-line message (#7747) * feat: allow only one swiped room item at a time (#7719) * chore: replace react-native-restart with expo reloadAppAsync * chore: replace react-native-background-timer with setInterval * chore: bump react-native-localize to 3.7.0 * chore: replace react-native-file-viewer with expo-quick-look * chore: migrate from expo-av to expo-audio and expo-video (#6719) * chore: bump react-native-mmkv and react-native-nitro-modules * chore: drop dead react-native-mmkv patch and tighten its jest mock * chore: RN 0.86 / Expo 57 dependencies, toolchain and patches (#7693) * chore: upgrade dependencies and patches to RN 0.86 / Expo 57 * chore: align upgrade toolchain floors and CI checks * chore: update Jest toolchain for RN 0.86 and Expo 57 * fix: adapt app code to React Native 0.86 and Expo 57 (#7694) * fix: adapt app code to React Native 0.86 and Expo 57 * test: await scheduled gesture and floating date callbacks * fix(ios): support React Native 0.86 and Expo 57 (#7696) * fix(ios): support React Native 0.86 and Expo 57 * test: fix jest failures under Node 22 Resolve Expo's lazy fetch global in jest setup so suites that fully mock react-native no longer crash when jest enumerates globals at teardown. Restore real timers only after Testing Library unmounts, so immediates scheduled with fake timers are cancelled with the same clock. * fix(android): adopt Expo 57 autolinking plugin and drop jcenter from patched libraries Expo 57 removed scripts/autolinking.gradle in favour of the expo-autolinking-settings and expo-root-project Gradle plugins. Gradle 9 removed jcenter(), which @react-native-cookies/cookies and react-native-math-view still declared. Bump the iOS Pods cache key so runners stop restoring Local Podspecs generated for the previous React Native version. * fix(android): build with React Native 0.86 codegen and Expo 57 prebuilt modules Bump @react-native/codegen, babel-preset and typescript-config to 0.86.3 so libraries stop resolving the stale 0.80 codegen. Build the four patched Expo packages from source, since Expo 57 ships prebuilt Android artifacts that ignore patch-package changes. Patch camera-roll to drop string literal unions from its spec, keyboard-controller for the non-null onConfigurationChanged signature, math-view to drop the removed UIManagerModuleListener import, and expo-font for the nullable loadedFonts field. Declare androidx.localbroadcastmanager explicitly and resolve the WRITE_EXTERNAL_STORAGE maxSdkVersion manifest conflict. * fix: drop undefined request headers rejected by Expo fetch Expo 57 installs its native fetch as the global and rejects header entries whose value is undefined. getServerInfo sent X-Auth-Token and X-User-Id as undefined before login, so every deep link login fell back to the Add workspace screen and all E2E flows failed. * test(e2e): wait for LoginView transition before keyboard navigation * fix(login): keep focus on the password field when submitting with a hardware keyboard * fix(ios): compile the release bundle with the hermesc matching the bundled Hermes runtime * fix(ios): expose room header testIDs to accessibility tree An accessible wrapper around the room header hides its children from XCUITest on React Native 0.86, so Maestro could not find the header title or the header button. Move the accessibility label and role to the pressable header, which already exposes its children. * fix(ios): expose rooms list header testIDs to accessibility tree Same cause as the room header: an accessible wrapper inside the native stack header hides its children from XCUITest, so Maestro could not find the servers list button. * fix(ios): bump react-native-linear-gradient to 2.8.3 to stop zero-size layer crash on mention autocomplete * fix(ios): address upgrade review feedback * fix(ios): exclude Android keyboard flow change * fix: update Android build for React Native 0.86 (#7695) * fix: update Android build for React Native 0.86 * fix: restore Android Gradle 9 compatibility * fix: align React Native codegen version * fix: resolve Android storage permission merge * fix: patch Android modules for React Native 0.86 * fix: restore Android local broadcast dependency * fix: build patched Expo modules from source * fix: raise iOS deployment target to 16.4 for Expo 57 * fix: materialize expo fetch global before jest mocks * fix: keep setImmediate real under jest fake timers * fix: key iOS pods cache by Podfile.lock hash * fix: allow non-modular React includes in framework modules * fix: drop undefined header values before fetch expo/fetch, installed as the global fetch on native by Expo 57, forwards header entries to the native request verbatim, so an undefined value fails the Kotlin cast to Pair<String, String> and rejects the whole request. * fix: build React-Core from source instead of prebuilt * fix: match Expo import access level with generated provider * fix: adopt Expo 57 AppDelegate contract * fix: compile Hermes bytecode with the legacy compiler * fix: expose header test ids on iOS * fix: expose team channels header test id * fix: remove iOS changes from Android upgrade * ci: make TypeScript check blocking again * fix: restore default submit behavior on login email field * fix: keep test identifiers on iOS accessibility elements * fix: expose test identifiers on accessible elements * fix: keep a single test identifier per element * fix: remove OrSeparator from accessibility focus chain * chore(ios): re-enable prebuilt React-Core and Hermes V1 (#7698) Removed the three Podfile opt-outs (RCT_USE_PREBUILT_RNCORE, RCT_USE_RN_DEP, RCT_HERMES_V1_ENABLED) and the HERMES_CLI_PATH post_install override, letting React Native 0.86 use its prebuilt React-Core/ReactNativeDependencies tarball and Hermes V1 (250829098.0.17) instead of building from source. Dropped the RCTViewManager accessibility-role patch: it only touched the Paper renderer, the app runs on Fabric, and the file no longer compiles under prebuilt Core. VoiceOver role-update behavior is covered by manual smoke testing, not this patch. RNFB pods forced to static libraries in the pre_install hook to avoid a non-modular-include failure on RNFB 21.x; the fix ships in react-native-firebase >= 26.3.0, so this can be dropped on that bump. SocketRocket now ships vendored inside the ReactNativeDependencies xcframework under a namespaced header path, so SSLPinning.mm's import changed from a flat "SRWebSocket.h" to <SocketRocket/SRWebSocket.h>. Copy Pods Resources phases regenerated by pod install, dropping the boost/glog/RCT-Folly privacy bundles that no longer exist as separate pods. * fix(e2e): anchor keyboard navigation login on focus (#7703) * fix(e2e): reach login email field by focus instead of Dpad count The keyboard navigation onboarding flow walked to the email field with four blind Remote Dpad Down presses. Removing the decorative OR separator from the accessibility focus chain shortened the chain by one, so the email was typed into the password field and the password into the email field, and login was never submitted. Press Down until login-view-email reports focused, bounded by times: 10, and assert focus before typing. Maestro returns normally when a repeat bound is exhausted, so without the assertion an over-long chain would fail later at the rooms-list-view wait with an unrelated error. The separator only renders when totalServices > 0, so the chain length depends on server config and no fixed count is correct. * fix(e2e): reach password and submit by focus, hide keyboard first Anchoring the email field exposed two more blind steps in the same flow. The hop to the password field assumed Enter moves focus, and the submit assumed Enter on the password field logs in. Neither had been exercised before, because the flow failed earlier. Press Down until each target reports focused, bounded and asserted like the email field. The submit loop needs the soft keyboard hidden first: with the keyboard up the Dpad presses go to the input method and never reach the login screen, so the submit button is never focused. * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 (#7706) * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 Reanimated 4.6.0 requires react-native-worklets 0.12.x, so both move together. Worklets drops its caret to match reanimated's exact pin. Reanimated 4.6.0 initializes CSS event handling at import time, which the JS-only fallback used by Jest does not implement, so the mock entry point throws on load. Stubbing setCSSEventHandler at its source keeps the rest of the proxy module real. * chore(ios): update Podfile.lock for reanimated and worklets CocoaPods preserves versions already in Podfile.lock, so pod install would not have picked these up on its own. * chore(ios): bump ffi to 1.17.4 for Xcode 27 compatibility * chore(deps): bump react-native-screens to 4.28.0 (#7709) * chore(deps): bump @react-navigation family (#7710) * chore(deps): bump react-native-safe-area-context to 5.10.0 (#7711) * fix(ios): adopt UIScene lifecycle for iOS 27 iOS 27 SDK requires scene-based app lifecycle. The app now uses Expo's ExpoAppSceneDelegate via a new SceneDelegate, with startReactNative and boot splash initialization moved out of the app delegate into the scene delegate. * fix(android): stop gesture-handler buttons hijacking hardware Enter/D-pad The RN 0.86 gesture-handler bump added an Android-only onKeyUp override that intercepts DPAD_CENTER/ENTER/SPACE and activates whichever button currently holds native view focus, bypassing the default performClick() path. Every composer and header icon button is a BorderlessButton, so this silently fired the wrong button (e.g. the header drawer button) on hardware Enter/D-pad and swallowed the key event elsewhere. Removed the hunk; the iOS press-handling hunk is untouched. * fix(room-list): close other swiped room items when a new one opens Track the currently open swipeable room item in a single UI-thread mutable value (openSwipeItemId) instead of per-item state. Every Touchable reacts to that value and springs itself closed once another row claims it, so only one room can be swiped open at a time. Tapping a room, long-pressing it, or opening its own actions all clear or reassign ownership. Also replaces the abrupt default spring with an explicit, softer config (damping/mass/stiffness) shared by every open/close animation. * test(room-list): drop tautological swipe test, keep mock reverted openSwipeItem.test.ts only asserted that a shared value keeps what was written to it, which added no coverage. GestureDetector/pan behavior isn't exercisable through the existing jest reanimated mocks (useAnimatedReaction is a no-op), so a real cross-row close test isn't practical here without a broader mocking change. Revert the makeMutable jest mock added for that test since nothing else in the suite needs it. * fix(room-list): close open row on press-in of another row * wip: gesture manual restructuring attempt (bisect checkpoint) * fix(room-list): close open swipe row via plain JS registry * fix(room-list): swallow tap that only closes another open row * fix(room-list): close other row's swipe animation from the UI thread Route the cross-row close through a Reanimated shared-value registry so tapping row 2 starts row 1's spring close synchronously on the UI thread, from the pan gesture's onBegin worklet, instead of waiting for a JS-thread hop via scheduleOnRN. The JS-thread round trip could be delayed by other work on that thread, stalling the animation partway through and making it finish as a single jump instead of a smooth spring. * feat(room-list): WhatsApp-style swipe actions and release spring * fix(room-list): match left action width and tighten swipe release rules Left action opens to one action width like each right action. Haptic on the full-swipe threshold fires on both sides and only while the finger is down. Release opens a side only past half an action width; an open row stays open unless swiped fully closed. Release decision extracted to getSwipeRelease with tests. * fix(room-list): refresh row when its record changes Row read state, title, avatar and invite state now come from a useSyncExternalStore subscription to the record, since the compiler cached them on the in-place mutated record. The custom memo comparator is removed. Thread unreads count as unread, matching the badge. * refactor(room-list): write gesture flag with shared value set * fix(a11y): close drawer when navigating to the focused sidebar route (#7717) * fix(a11y): close drawer when navigating to the focused sidebar route Tapping a sidebar entry for the route already focused left the drawer open, because the drawer router only closes it when the focused index changes. Subsequent taps were swallowed by the drawer scrim. * chore(e2e): map ToastsAndDialogs flow to SidebarView The flow reaches Accessibility & appearance through the sidebar, so a change under app/views/SidebarView can break it. Without this the impact analysis never selects its shard for sidebar-only changes. * fix(room-list): show selected room tint only in master-detail On iPhone the row got the tablet selected-room tint while the room was subscribed, so a tap flashed a second time before navigating and the row stayed tinted during the interactive back-swipe. * fix(room-list): re-render row on every record change * fix(room-list): read swipe offset from shared value * test(room-list): assert close resets translation * refactor(room-list): observe row record without opting out of the compiler * fix(room-list): reset closed-row tap guard on every touch * fix(room-list): close previously open row when another row opens * refactor(room-list): address review feedback * ci(ios): restore Xcode version pin * ci(ios): pin Xcode 26.6 * perf(room-list): mount swipe actions only while the row is moved * chore: tidy RN 0.86 upgrade leftovers * chore(deps): upgrade react-native-gesture-handler to 3.3.0 (#7726) * chore(deps): bump react-native-gesture-handler to 3.3.0 * refactor: migrate gestures to the gesture handler 3 hook API * refactor: replace deprecated gesture handler buttons with Touchable * chore(ios): update Podfile.lock for react-native-gesture-handler 3.3.0 * fix: restore disabled state on Touch after gesture handler 3 migration * fix(android): enable nested scroll on reactions lists inside the action sheet * fix(android): activate focused gesture-handler buttons on hardware Enter/D-pad * test: refresh audio button snapshots after gesture handler upgrade * fix: restore React Native Gradle plugin composite build * refactor(RoomItem): settle swipe on the UI thread and mirror it in RTL Derive the open side from the resting offset instead of a separate row state, release and register the row inside the gesture worklet, fire the threshold haptic from the pan update, and flip gesture input and output once for right-to-left layouts. Drop the duplicate long-press gesture and skip the snapshot rebuild on the record's initial emission. * fix(RoomItem): close the open row when a swipe-disabled row is tapped * refactor(RoomItem): move swipe utils and room snapshot hook into subfolders --------- Co-authored-by: OtavioStasiak <otaviostasiakmusic@outlook.com> * regression: black empty status bar on Android 14 (#7749) * fix: Cyrillic filenames uploaded percent-encoded (#7741) * test: add unit test for loadThreadMessages (#7712) * fix: composer placeholder fits the input width (#7753) * fix: composer placeholder fits the input width * fix: composer shows the message text when editing it * fix: rooms list re-renders every row when a room opens (#7762) * fix: Directory list drops, repeats and mixes rows when paging (#7760) * fix: Directory list drops, repeats and mixes rows when paging * chore: remove inaccurate comment on Directory initial search effect * fix: Directory drops repeated rooms within a page and stale pages during search debounce * fix: hide previous Directory results while a new search is pending * fix: make the first UIKit block message cheap to mount (#7764) Loading @rocket.chat/ui-kit and @rocket.chat/message-parser on first use made the first block message in a room take ~100 ms to mount. The rooms list now loads both when the JS thread is idle. MessageBlock is now a stable component, so a re-render no longer remounts the block subtree, and rendered blocks are keyed, which removes the missing-key error on InfoCard. * perf: render avatars once on mount (#7756) * perf: read avatar ETag synchronously on first render Avatars used to render twice on mount: once with an empty ETag, then again after an async WatermelonDB lookup resolved. The ETag is now read synchronously through the JSI adapter and kept in sync with useSyncExternalStore, and the Redux config reads collapse into one structured selector. * test: reset avatar ETag mocks between tests * test: mock useAvatarETag in the global jest setup * fix: read enterprise modules from licenses.info (#7746) * fix: register deep link listener on mount (#7767) * chore: refresh agent docs and add coding standards (#7769) * chore: refresh agent docs and add coding standards Trim CONTEXT.md, fix stale CLAUDE.md/README claims (Android 7.0+, bundle install, pnpm test), add CODING_STANDARDS.md for reviewers, complete the CI call graph, point the PR template at this repo's CONTRIBUTING.md, and drop the dead 'e2e' jest ignore that skipped every test in paths containing e2e. * chore: drop restated lint config and CI call graph, flag tautological tests * chore: add comment and test rules to coding standards * test: add attachment-send e2e flow for image library upload (#7720) * fix(e2e): reach sidebar Accessibility item by focus instead of Dpad count (#7774) The flow opened the drawer and pressed Left, Down, Down to reach Accessibility & Appearance. Left only moved focus because every room row kept its swipe action buttons mounted behind the row, and Down from one of those hidden buttons landed on the drawer's Profile item. Swipe actions now mount only while a row is swiped, so Left has nowhere to go and the two Downs stop on Edit status. Press Down until the Accessibility item holds focus, bounded and asserted like the login steps in the onboarding flow. The focused view is the keyboard-focus wrapper, which carries no testID, so the selector matches it by its sidebar-accessibility descendant. * feat: Categories display option controls custom categories (#7766) * fix: validate attachment url origin before appending credentials (#7754) * fix: enable editMode on expo quick look preview file (#7780) * fix: harden session and Basic auth headers across servers (#7755) * fix: scope getServerInfo request headers to known servers Only attach the stored auth headers when the user is already signed in to the requested server, and add tests. * fix: only send auth headers in getServerInfo to servers the user is signed in to Drops the Basic auth handling and skipCustomHeaders option from the previous commit and reverts fetch.ts to develop. * remove comment * coderabbit suggestion * fix: address review comments for deep-link consent and getServerInfo - extract getSessionHeaders to fix oxlint complexity - move getServerInfo test to __tests__ folder - prompt before first request to new deep-link host * fix: scope Basic Authorization to requested server in getServerInfo Load Basic auth only for the requested host and skip global customHeaders so deep links to unknown hosts no longer receive the active workspace credentials. * refactor: pass serverRecord to ensureDeepLinkLoginConsent and cover the known-host branch The callers already hold serverRecord, so the consent check no longer re-reads MMKV and the database. The known-host test now uses a server record without a signed-in user so it reaches the new branch. * fix: scope Basic Authorization on the cloud lookup and add-server requests getUniqueId and the add-server requests (getLoginServices, getLoginSettings) still merged the global custom headers, so the current workspace's Basic Authorization reached the requested host after the scoped /api/info call. getUniqueId now sends only the requested server's stored Basic auth, and handleServerRequest points the global Basic auth at the requested server before making any request. * fix: keep Basic auth and session headers scoped to the right server - restore the active workspace's Basic auth when the add-workspace flow is closed - stop sending the global Basic auth to the releases.rocket.chat lookup - require the stored token, not only the user id, before sending session headers - cover the call-push consent branches * fix: end the VoIP call when the sign-in prompt is declined * test: restore customHeaders after each fetch test and drop redundant skipCustomHeaders assertions * revert: move applyBasicAuth handling in selectServer out of this PR * Revert "revert: move applyBasicAuth handling in selectServer out of this PR" This reverts commit 48a3f45d2dde5b59a2afa0d9d7e328f38f09f0f2. * revert: drop VoIP call cleanup on declined deep-link consent Reverts 924bbf741. The extra handleVoipAcceptFailed call on the decline branch is not part of the credential-leak fix this PR is about. * fix: restore the active workspace's Basic auth when the add-workspace flow finishes Re-apply the connected workspace's stored Basic auth on FINISH_ADD so a failed probe can't leave the probed host's header on later requests. * fix: restore the active workspace's Basic auth as soon as the add-workspace probe ends handleServerRequest swaps the global Basic auth to the probed host and only handed it back on FINISH_ADD, so a failed connect left the active workspace's requests carrying the wrong Authorization until the form unmounted. Restore it in a finally block instead and drop the FINISH_ADD watcher, which keyed off sdk.host before the new connection existed. * fix: address review comments on scoped probe auth and deep-link consent - Guard hardware back while the add-workspace check runs so the active workspace Basic auth can't leak to the probed host - Drop the redundant global Basic auth write in NewServerView - Let fetch callers' headers win over global custom headers and add the getBasicAuthKey helper - Send per-request Basic auth in getLoginServices/getLoginSettings and scope the global swap in getWebsocketInfo to the handshake only, so the probe no longer touches the shared headers - Thread the requested server version through the cloud unique-id lookup - Neutral deep-link consent copy for tokenless links * chore(i18n): add Deep_link_open_* strings for tokenless deep-link consent * refactor: simplify scoped Basic auth handling and share stored-session lookup - keep the add-workspace websocket handshake swap inline in getWebsocketInfo - read the stored user id and token through getStoredSession everywhere - select the deep-link consent copy from a table instead of repeated ternaries - only swallow hardware back while connecting when there is a workspace to return to - remove explanatory comments from tests * refactor: fold add-workspace back guard into handleBackPress * test: cover the add-workspace hardware back guard in NewServerView * fix: restore the active workspace headers before the add-workspace handshake settles * fix: scope the auto-lock time sync request to the requested server's Basic auth * refactor: share applyBasicAuth and finish the deep-link consent rename * fix: end the VoIP call when the deep-link open prompt is declined Also rename shouldAutoConfirmDeepLinkLogin to shouldAutoConfirmDeepLinkConsent now that it gates both prompts. * test: seed a stale header in the reselect test and use ~/ imports in the new tests * fix: skip the DM navigation when the deep-link open prompt is declined after a failed VoIP accept Declining the prompt only needs to end the call and reset the VoIP state. Running the full failed-accept handler also tried to open a DM with the caller on the active workspace, which is not the host the user declined. * fix: send Basic auth to the iframe SSO endpoint only on the server's own origin The iframe login fetch went through the shared headers, so it carried the active workspace's Basic Authorization to whatever host Accounts_Iframe_api_url points at. It now sends the stored Basic auth only when the URL has the same origin as the server. * test: drop dead active-server setup from the probeAuth tests * refactor: restore isLoggedInServer to read only the user id * test: use ~/ imports for collaborators in getServerInfo and getLoginSettings tests * test: move logout test into __tests__ and use ~/ paths in jest.mock calls * test: use fake timers in getServerTimeSync tests to stop leaking the race timeout * test path fix * test: drive the probe handshake through the real SDK so header timing is pinned at WebSocket construction * refactor: rename getBasicAuthHeader module to serverBasicAuth * fix: send /api/info the requested server's own stored session * refactor: read the stored session through getStoredSession in removeServer test: cover the back handler when connecting flips after mount * fix: send each page of the public settings fetch the requested server's own Basic auth * refactor: address review feedback on basic auth and deep-link consent helpers Drop the unreachable early-return applyBasicAuth and its test, fold setBasicAuth into applyBasicAuth, rename the probe test array, and pass isKnownHost to ensureDeepLinkConsent. * fix: time out the add-workspace probe when the host never answers Race the probe against a 30s timer so a host that accepts the connection and never responds can't leave the user stuck on Add workspace, and show a dedicated Connection_timed_out message. * fix: abort the add-workspace probe requests when it times out or is superseded A probe that timed out kept its settings and login-services requests running, so a late reply could overwrite the active workspace's settings. The probe now shares one abort signal across its requests and closes the websocket probe on abort. * using workspace instead of server * some more changes * refactor: share the workspace basic auth helpers and abort the whole add-workspace probe Every per-workspace request now goes through fetchForWorkspace, and the websocket handshake header swap through withBasicAuth, both in serverBasicAuth, so a call site can no longer forget to scope the Basic auth. The probe's abort signal now also reaches the /api/info, unique-id and supported-versions requests; an abort that comes from that signal leaves the store alone instead of failing the active workspace's connection. The NewServerView back handler is back to plain functions with explicit effect deps, the getLoginSettings tests live in getSettings.test.ts, and the fetch spy shared by the basic auth tests is testUtils/mockGlobalFetch. * refactor: drop unrequested renames in logout test and deep-link auto-confirm helper * fix: send the shared Basic auth only to the workspace origin fetch attaches the shared Authorization only to the origin applyBasicAuth recorded it for, and fetchForWorkspace sends the stored Basic auth only to the server's own origin. This replaces the per-call Authorization overrides on the supported-versions lookup and the iframe SSO request, and moves the origin comparison into isSameOrigin next to getOrigin. * refactor: restore the inline session read in removeServer Logout is left for a follow-up, so removeServer reads the stored user id and token the way it did before. * refactor: let the deep-link callers decide whether consent is needed Drops the isKnownHost flag from ensureDeepLinkConsent. handleOpenDifferentServer and handleClickCallPush now skip the prompt for known hosts without a token. * test: move the logout test into __tests__ Uses ~/ paths in the jest.mock calls. * refactor: share the deep-link consent predicate between both callers handleOpenDifferentServer and handleClickCallPush repeated the same "token or unknown host" condition, which pushed handleClickCallPush over the cognitive complexity limit. Name it once as requiresDeepLinkConsent. * refactor: keep the add-workspace probe result typed through the timeout race * chore: adopt react-doctor and fix its findings (#7765) * chore: add react-doctor * refactor: use shared value get/set so React Compiler compiles animated components * refactor: declare functions before effects use them * refactor: use useWatch and drop try/finally so React Compiler compiles form views * chore: run the pinned react-doctor * fix: report room loading in the same render as a rid swap * refactor: derive state in render instead of syncing it from effects * fix: flag the next 2FA prompt as invalid after a rejected code The retry read twoFactorCode from a stale render closure, so it was always null and the second prompt never showed the invalid state. Keep it in a ref instead. * refactor: retry the profile password change directly and drop the runInit comment * chore: pin react-doctor to an exact version * refactor: keep values that never render in refs * refactor: initialize state lazily * refactor: use per-method lodash imports, Set lookups and Object.fromEntries * refactor: check room action permissions in parallel * refactor: drop try/finally and redundant memoization so React Compiler compiles more views * chore: run react-doctor through npx latest instead of a pinned devDependency * refactor: compute values before try blocks so React Compiler compiles more views * fix: save the latest composer text as the draft * fix: guard 2FA error details and validate the values ProfileView submits * refactor: resolve quote permalinks in parallel and batch presence writes * refactor: use Set lookups for selected options, roles and setting keys * refactor: render header and list items inline instead of nested components * refactor: derive loading and user roles in render instead of setting them in effects * chore: waive react-doctor findings with documented reasons * refactor: save the composer draft from a single effect * refactor: check room action permissions in one hasPermission call * fix: ignore endpoint responses that arrive after a newer request * fix: skip unresolved permalinks when quoting messages * fix: URL preview card no longer shifts the room on open (#7761) * fix: URL preview card no longer shifts the room on open * test: update URL story snapshots for the reserved preview image * fix: bound URL preview image height before the width is measured * chore: migrate DDP methods to REST endpoints (#7783) * chore: migrate getThreadMessages ddp method to chat.getThreadMessages rest api (#7773) * feat: livekit conference support (#7661) * feat: open video conferences in workspace conference window * coderabbit changes * fix: set host-only conference auth cookies via setFromResponse * fix: harden the conference window against logout, iframes and stale calls Review follow-ups on the workspace conference window: - Clear the call state and expire the seeded rc_uid/rc_token cookies on logout. The overlay is mounted outside the navigator, so nothing else unmounted it: the minimized bar rendered over the login screen and expanding it produced a webview with no route to dismiss it. - Honour isTopFrame in onShouldStartLoadWithRequest. iOS reports subframe navigations there too, so a cross-origin provider embed was being cancelled and handed to the external browser. - Gate the feature on a secure server. Cleartext workspaces now fall back to the regular join flow instead of loading a page that the webview's own guards then reject. - Correlate the preflight carry-over on rid, so joining a call from another room no longer inherits the previous room's page. - Add a minimize control to the overlay, pop ConferenceView when the call ended under another screen, and drop the call when the server changes. - Surface load failures with retry/close instead of a blank overlay. - Keep the minimized bar off RoomView's composer. - Fix the IPv6 loopback allowance, which never matched WHATWG's bracketed hostname, and keep the injected bridge script ES5. - Only request ACCESS_FINE_LOCATION on API 29/30, and declare BLUETOOTH_SCAN as neverForLocation. Move isConferenceWindowEnabled to methods/helpers and drop the unused useConferenceWindow hook. * refactor: return to a conference call from the media call header Replace the custom "Return to call" bar with MediaCallHeader, the header the VoIP call already uses, so both call types are returned to the same way. The header is a flow sibling above the navigator rather than an overlay, so screen content is pushed down instead of covered — which also removes the bar's overlap with RoomView's composer. When no VoIP call is active and a conference call is, the header renders the conference row: expand, the call title, and end call, built from the same HeaderButton primitives. A VoIP call still wins if both somehow exist, which isInActiveVoipCall already prevents. Extract expand/minimize/close into conferenceCallNavigation so the header, the webview overlay and openConferenceCall cannot disagree about what each one means, and keep the store itself free of navigation. * fix: drop the overlay minimize button from the conference call The conference page provides its own controls, so the button duplicated them and overlapped the page's call timer. Remove it, along with the minimizeConferenceCall action and the Minimize_call string it was the only user of. ConferenceView still reports the minimize on blur, so popping the route keeps the call alive in the background. * fix: gate conference bridge on per-session token and pop conference on server switch - Mint an unguessable bridgeToken per WebView mount and require it on incoming rc-conference messages, so cross-origin child frames on Android cannot forge close/openInMainWindow. - Use closeConferenceCall() for the server-change cleanup so the empty ConferenceView route is popped when it is showing. * fix: always request Android BT permission and sync conference cookies with credentials * more changes * refactor: harden conference call navigation and logout cleanup - expandConferenceCall no-ops with no active call instead of pushing an empty ConferenceView - ConferenceView selects store fns individually and guards back() against deep-link races - logout uses closeConferenceCall so the route pops; removeServer also clears server cookies - align ConferenceViewScreen wrapper with JitsiMeetViewScreen * fix: gate conference credentials on same-origin and drop stale opens - ConferenceWebView injects cookies, Cookie header and bridge credentials only when the url matches the server origin, not merely HTTPS - openConferenceCall drops a pending open invalidated by close/logout/server-switch via a generation counter plus a server re-check * fix: close conference window review findings Address six issues found reviewing the branch against develop, plus two tests that never exercised the guards they claimed to. - ConferenceWebView: the same-origin navigation guard failed open on Android. react-native-webview builds the synchronous shouldOverrideUrlLoading event without isTopFrame (only the legacy fallback event sets it), so `!isTopFrame` was always true and every navigation skipped isConferenceUrl — handing the bridge script, the login token and the rc_uid/rc_token cookies to any origin. Test for `isTopFrame === false` instead; Android never raises this callback for inner frames, so nothing legitimate is blocked. - deepLinking: handleNavigateCallRoom still passed the old positional `true` after videoConfJoin moved to an options object, so fromPush and rid both destructured to undefined — push-accepted joins reported error-init-video-conf instead of Missed_call, and rid never reached openConferenceCall. - setServerCookies: the new secure-url check broke Jitsi auth on cleartext self-hosted servers, which JitsiMeetView swallowed before mounting the WebView with no credentials. Add an explicit allowInsecureServer opt-in for that caller; the conference window still refuses cleartext upstream. - ConferenceWebView: the cookie effect reset cookiesSet, which gates mounting the WebView, so a mid-call token refresh tore down the live WebRTC session. Write the cookies without unmounting. - Move ConferenceView from ChatsStack to the root InsideStack, next to CallView. MediaCallHeader is mounted app-wide, so "return to call" from Settings, Profile or Admin set expanded without the navigate ever resolving, leaving a full-screen overlay nothing could minimize. - openConferenceCall: throw for the states it cannot serve (window disabled, un-buildable url) so callers surface an error instead of the user tapping Join to no effect; stay quiet only for calls the user themselves superseded. Add the missing alert in useVideoConf. The two openConferenceCall tests covering the generation guard and the server-changed check resolved their permission mock before it was called, so they threw before asserting. Await the request instead; both now fail if either guard is removed. * fix: gate trusted conference mount on per-server cookie write * fix: scope conference cookies to the workspace path * fix: restrict conference window.open() to http(s) urls * more changes * style fix * remove screenshare as it is not showing alert * fix: request BLUETOOTH_CONNECT for call audio on Android 12+ WebRTC audio in the conference and Jitsi WebViews routes via the OS audio manager, so BT headsets need BLUETOOTH_CONNECT at runtime on API 31+. Declare it in the manifest (audio-only, neverForLocation) and request it in the shared VoIP permission helper without blocking the call on denial. Also gate the trusted WebView mount per-URL so trusted->trusted switches re-write cookies. * fix: address coderabbit review 5209937314 - gate conference WebView mount on successful cookie write with retry - reject unsafe credential values in server cookies - scope conference calls to owning server * fix: address coderabbit review 5210904214 * refactor: gate the conference window on the livekit provider, not a client setting VideoConf_Conference_Window_Enabled only ever encoded web-only UI concerns (popout reuse, ongoing-calls list) and had no bearing on whether the /conference/:id page actually works — so mobile was gating on the wrong signal. Branch on providerName from the capabilities/join responses already being fetched instead, which reflects the real per-call provider and keeps old servers on the legacy Jitsi/link flow automatically. * remove comment... * some cleanup * Change status bar color and change permission to allow media all time * test fix * fix: require https before attaching conference credentials isSecureHttpUrl allowed http loopback for local-dev navigation, but ConferenceWebView reused it to gate cookies, the credential bridge, and the Cookie header too — leaking rc_token in cleartext for an http loopback server. Gate credentialsAllowed and setServerCookies on a strict https check instead, keeping loopback http navigable but never credentialed. * chore: remove review comments * fix: use theme colors for conference background * feat: add Return_to_call translations to all locales * chore: replace magic number with HEADER_TOP_PADDING in MediaCallHeader --------- Co-authored-by: Diego Mello <diegolmello@gmail.com> * fix: use sipExtension instead of freeSwitchExtension on servers >= 9.0.0 (#7796) * fix: hide Omnichannel and skip Inquiry requests when Livechat_enabled is off (#7803) * perf(android): enable R8 minification and resource shrinking (#7787) * perf(android): enable R8 minification and resource shrinking Turn on minifyEnabled and shrinkResources for release builds with the optimize defaults. Keep the Gson models and the classes that native code or reflection look up by name. Bump Gson to 2.13.2 and the Crashlytics Gradle plugin to 3.0.8, whose mapping upload works on Gradle 9. * chore(android): narrow R8 keep rules Keep only the WatermelonDB JSI classes and the generated $$ReactModuleInfoProvider constructors, which are the ones looked up by name. Drop @Keep from the VoIP Gson models: Gson's bundled R8 rules keep @SerializedName fields and the no-arg constructor. Inline the always-true minify flag. * chore(android): drop ReactModuleInfoProvider keep rule No $$ReactModuleInfoProvider class is generated in this build; every package that looks one up by name falls back to an inline provider. * feat: Liquid Glass support (#7707) * fix local navigation package resolution * use local libs * chore: regenerate native-stack and react-native-screens patches from fork Derive patches/@react-navigation+native-stack+7.19.2.patch and patches/react-native-screens+4.28.0.patch directly from the diegolmello forks' feat/legacy-header-subtitle branches (diffed against their merge-base with the registry release), instead of the prior hand-written headerSubtitle-only patch. Adds headerTitleImageSource and headerSubtitleImageSource, which useNativeRoomHeader already expects. Drop the tsconfig path alias that forced tsc to resolve @react-navigation/native-stack straight to the package's .tsx source; the patch now covers lib/typescript/src/types.d.ts, so the alias is no longer needed and was the cause of a stale type-checking failure. * chore: update Podfile.lock after pod install Refresh the React-Core-prebuilt checksum after reinstalling pods against the reverted react-native-screens and native-stack deps. * feat(header): add native header item helpers for outside-stack screens Adds outsideHeaderRightLegal/outsideHeaderLeftClose helpers to render the Legal/Close buttons via unstable_headerRightItems/LeftItems on iOS native headers, falling back to the existing HeaderButton components on Android. Login, NewServer and Register views now use these helpers instead of setting headerRight/headerLeft directly. * refactor(header): consolidate room header right buttons into shared components Removes the platform-specific *RightButtonsNative components and useRoomRightButtonsNativeData in favor of a single useRoomHeaderRightItems hook shared by RoomRightButtons, ThreadRightButtons and OmnichannelRightButtons. RoomsListView's useHeader is updated to match. * fix(test): match both Android back-button testIDs in go-back helper The custom Android header (app/containers/Header/index.tsx) renders the back button with testID 'custom-header-back', while some screens using HeaderBackButton directly keep the default 'header-back'. The Android branch of the go-back helper only matched 'header-back' as a full regex, so it never found the header rendered by the custom Header component and failed with 'Element not found: Id matching regex: header-back'. * fix(test): match iOS native header items by label instead of testID iOS native stack header items (unstable_headerLeftItems/RightItems) and the iOS 26+ native room title carry no accessibilityIdentifier, only a label/text. Add tap-header-item and assert-room-title helpers that tap or assert by testID on Android and by visible label/text on iOS, and wire them into the sidebar, create-channel, directory, room-title and room-actions-overflow flows that previously assumed a testID existed on both platforms. * fix(test): migrate remaining Maestro flows to iOS-safe header assertions Native iOS header items on RN's new-architecture stack carry only a visible label, no accessibilityIdentifier, so id-only assertions for rooms-list-view-sidebar/create-channel and room-view-title/header never matched on iPhone. Route these through the existing tap-header-item/assert-room-title helpers, or inline android/iOS branches matching iOS by text. * fix(test): match iOS back button by label instead of testID go-back.yaml's iOS branch still tapped id: 'Back', but headerBackButtonDisplayMode: 'minimal' leaves no accessibilityIdentifier on the native back button, only the 'Back' accessibility label. This was the dominant cause of iOS Maestro failures in run 35878569115 shards 5 and 8 (Change Avatar, Broadcast, Setting, User Preferences, Display Perf, Status). * fix(ios): render Liquid Glass on native headers MediaCallHeader rendered an empty placeholder with no active call, which covered the status bar area and hid the glass effect on native header bars. It now returns null there. The forced opaque header styling (themedHeader on iOS, RoomsListView headerStyle and scrollEdgeEffects) was removed so the system bar can render Liquid Glass. * feat(ios): use app icons on native header buttons * fix(ios): load local header icons synchronously to avoid title flash * fix(a11y): close drawer when navigating to the focused sidebar route (#7717) * fix(a11y): close drawer when navigating to the focused sidebar route Tapping a sidebar entry for the route already focused left the drawer open, because the drawer router only closes it when the focused index changes. Subsequent taps were swallowed by the drawer scrim. * chore(e2e): map ToastsAndDialogs flow to SidebarView The flow reaches Accessibility & appearance through the sidebar, so a change under app/views/SidebarView can break it. Without this the impact analysis never selects its shard for sidebar-only changes. * fix(ios): render room title icon with the title on first frame * fix(ios): size room header icons to the title font and restore title/subtitle colors * fix(ios): keep drawer content below the status bar * feat(ios): open room header overflow actions as a native menu * fix(ios): match custom header icon size to system bar icons * feat(ios): open room actions from the native room title * feat(ios): open workspaces from the rooms list title * chore(ios): patch screens and native-stack for title press and icon labels * feat(ios): use the native back button in the room header * fix(ios): match header icon spacing to system bar items * fix(ios): guard room header title before formatting * feat(ios): present tablet modals as native form sheets * fix(ios): show the room back button only when it can go back * feat(ios): use the native glass header for the tablet rooms list * fix(ios): dismiss the tablet rooms search when a room opens * fix(ios): use native room header items on tablet * fix(ios): let the tablet rooms search be cancelled * fix(ios): show the room avatar in the tablet room header * fix(ios): tint native headers with the theme surface color Stack headers use surfaceNeutral as on develop. The rooms list header, which content scrolls under, uses a translucent surfaceNeutral over a blur so the tint shows while the bar stays translucent. * refactor(ios): gate native headers on iOS 26 and drop dead header code * fix(ios): restore rooms list large title and bottom search bar on iPhone * fix(ios): merge header right buttons and fix threads list header * chore(ios): replace app icon with Icon Composer icon * fix(test): restore sequential Android back taps in go-back helper * fix(test): pop to the rooms list before navigating to a room * ci(ios): restore Xcode version pin * ci(ios): pin Xcode 26.6 * feat(ios): use Expo UI List for List.Container (#7721) * fix(ios): scope liquid glass input to StatusView and fix its borders * fix(ios): align rooms list large title and match its background * feat(ios): default avatar border radius to 8 on iOS 26 * fix(ios): add vertical padding to room actions info row on iOS 26 * fix(ios): use native header search and list indicators on members, directory and add users * fix(ios): drop large titles and align list screens with native headers * chore(ios): update Xcode project * fix(ios): match room back chevron weight to the system back button * ci: add preloadNativeHeaderIcons saga to test map * perf(ios): render directory with FlashList and a React Native list row * refactor(ios): split list row trailing action and build header items from one table * fix(ios): match room actions info row disclosure and background to native rows * fix(ios): show connection state in DM header and share room type icon names * fix(ios): use Icon Composer app icon for the Watch target * fix(ios): present modals as native page sheets * chore: tidy RN 0.86 upgrade leftovers * chore(deps): upgrade react-native-gesture-handler to 3.3.0 (#7726) * chore(deps): bump react-native-gesture-handler to 3.3.0 * refactor: migrate gestures to the gesture handler 3 hook API * refactor: replace deprecated gesture handler buttons with Touchable * chore(ios): update Podfile.lock for react-native-gesture-handler 3.3.0 * fix: restore disabled state on Touch after gesture handler 3 migration * fix(android): enable nested scroll on reactions lists inside the action sheet * fix(android): activate focused gesture-handler buttons on hardware Enter/D-pad * test: refresh audio button snapshots after gesture handler upgrade * fix: restore React Native Gradle plugin composite build * fix(ios): render sidebar sections inline in iPad settings * fix(ios): keep stacked search bars visible when lists scroll * test(ios): tap the room header title by testID to open room actions * test(ios): adapt e2e helpers to the native header * test(ios): open the servers list from the rooms list title by testID * fix(ios): keep share list rows clear of the native header * refactor: group List and NativeListRow into components, utils and hooks folders * refactor: dedupe native header and list helpers * refactor: drive header actions from one native/JS adapter * refactor: move RoomView header hooks into leaf components * refactor: tidy RoomView header leaves and cover render isolation * test(ios): match the native back button and legal bar item by stable selectors * test(ios): tap the unread-badge back button by label when BackButton is absent * fix: Directory list drops, repeats and mixes rows when paging * chore: remove inaccurate comment on Directory initial search effect * fix: Directory drops repeated rooms within a page and stale pages during search debounce * fix: hide previous Directory results while a new search is pending * perf: read avatar ETag synchronously on first render Avatars used to render twice on mount: once with an empty ETag, then again after an async WatermelonDB lookup resolved. The ETag is now read synchronously through the JSI adapter and kept in sync with useSyncExternalStore, and the Redux config reads collapse into one structured selector. * test: reset avatar ETag mocks between tests * test: mock useAvatarETag in the global jest setup * fix: composer placeholder fits the input width * fix: composer shows the message text when editing it * fix: profile header uses native bar buttons * fix: drawer screens use native bar menu button * fix: modal screens use native bar close button * fix: modal header actions use native bar buttons * fix: apps modal uses native bar buttons * fix(test): status flow on iOS native list and header * feat: rooms list new message button floats at the bottom On iOS 26 it is a prominent Liquid Glass toolbar item beside the search field. Below iOS 26 and on Android it is a floating action button. * feat: collapse and expand rooms list sections * perf: avoid rooms list re-renders when toggling a section * feat: animate rooms list section collapse and expand * feat: restyle rooms list section headers * feat: compact rooms list rows with smaller avatars * feat: open display preferences from the rooms list header * chore: hide push troubleshooting header button in development builds * fix: use tint surface for the rooms list background * fix(ios): apply theme surfaces to native lists * fix: derive black theme from dark with darker backgrounds * fix: room header title icon keeps its color * fix: rooms search closes when a room opens * fix(ios): native list text accessory keeps the caller color * fix(ios): themed header leaves the native bar background alone * fix(ios): room body focus anchor only with the native header bar * chore: replace explanatory comments with names * refactor: split rooms list header into native and JS hooks * refactor: share one search header builder across list screens * refactor: one close header helper * refactor: drop the room right buttons wrapper * refactor: memoize the avatar record lookup * refactor: size the section reveal from the toggled section * refactor: inline the animated room row wrapper * fix(ios): match native title presses inside the bar only Drops the unused large-title margin workaround and the patch hunks for source files the app never loads. * revert: size the section reveal from the toggled section Updating the cover and the collapsed groups in separate renders blanks the list for a frame when the last section collapses. * refactor: pass list button props explicitly * chore: drop stale todo on drawer navigator params * test: move row marker test beside its source * test(e2e): drop comments from back and header item helpers * test(e2e): pop to rooms list through the go back helper * test: reset the native header bar mock before each media call header test * refactor: name the list separator mode after its value * refactor: share the select list selection indicator * style: rest…
diegolmello
added a commit
that referenced
this pull request
Nov 30, 2026
* chore: upgrade to React Native 0.86 / Expo SDK 57 (#7691) * chore: replace react-native-restart with expo reloadAppAsync * chore: replace react-native-background-timer with setInterval * chore: bump react-native-localize to 3.7.0 * chore: replace react-native-file-viewer with expo-quick-look * chore: migrate from expo-av to expo-audio and expo-video (#6719) * chore: bump react-native-mmkv and react-native-nitro-modules * chore: drop dead react-native-mmkv patch and tighten its jest mock * chore: RN 0.86 / Expo 57 dependencies, toolchain and patches (#7693) * chore: upgrade dependencies and patches to RN 0.86 / Expo 57 * chore: align upgrade toolchain floors and CI checks * chore: update Jest toolchain for RN 0.86 and Expo 57 * fix: adapt app code to React Native 0.86 and Expo 57 (#7694) * fix: adapt app code to React Native 0.86 and Expo 57 * test: await scheduled gesture and floating date callbacks * fix(ios): support React Native 0.86 and Expo 57 (#7696) * fix(ios): support React Native 0.86 and Expo 57 * test: fix jest failures under Node 22 Resolve Expo's lazy fetch global in jest setup so suites that fully mock react-native no longer crash when jest enumerates globals at teardown. Restore real timers only after Testing Library unmounts, so immediates scheduled with fake timers are cancelled with the same clock. * fix(android): adopt Expo 57 autolinking plugin and drop jcenter from patched libraries Expo 57 removed scripts/autolinking.gradle in favour of the expo-autolinking-settings and expo-root-project Gradle plugins. Gradle 9 removed jcenter(), which @react-native-cookies/cookies and react-native-math-view still declared. Bump the iOS Pods cache key so runners stop restoring Local Podspecs generated for the previous React Native version. * fix(android): build with React Native 0.86 codegen and Expo 57 prebuilt modules Bump @react-native/codegen, babel-preset and typescript-config to 0.86.3 so libraries stop resolving the stale 0.80 codegen. Build the four patched Expo packages from source, since Expo 57 ships prebuilt Android artifacts that ignore patch-package changes. Patch camera-roll to drop string literal unions from its spec, keyboard-controller for the non-null onConfigurationChanged signature, math-view to drop the removed UIManagerModuleListener import, and expo-font for the nullable loadedFonts field. Declare androidx.localbroadcastmanager explicitly and resolve the WRITE_EXTERNAL_STORAGE maxSdkVersion manifest conflict. * fix: drop undefined request headers rejected by Expo fetch Expo 57 installs its native fetch as the global and rejects header entries whose value is undefined. getServerInfo sent X-Auth-Token and X-User-Id as undefined before login, so every deep link login fell back to the Add workspace screen and all E2E flows failed. * test(e2e): wait for LoginView transition before keyboard navigation * fix(login): keep focus on the password field when submitting with a hardware keyboard * fix(ios): compile the release bundle with the hermesc matching the bundled Hermes runtime * fix(ios): expose room header testIDs to accessibility tree An accessible wrapper around the room header hides its children from XCUITest on React Native 0.86, so Maestro could not find the header title or the header button. Move the accessibility label and role to the pressable header, which already exposes its children. * fix(ios): expose rooms list header testIDs to accessibility tree Same cause as the room header: an accessible wrapper inside the native stack header hides its children from XCUITest, so Maestro could not find the servers list button. * fix(ios): bump react-native-linear-gradient to 2.8.3 to stop zero-size layer crash on mention autocomplete * fix(ios): address upgrade review feedback * fix(ios): exclude Android keyboard flow change * fix: update Android build for React Native 0.86 (#7695) * fix: update Android build for React Native 0.86 * fix: restore Android Gradle 9 compatibility * fix: align React Native codegen version * fix: resolve Android storage permission merge * fix: patch Android modules for React Native 0.86 * fix: restore Android local broadcast dependency * fix: build patched Expo modules from source * fix: raise iOS deployment target to 16.4 for Expo 57 * fix: materialize expo fetch global before jest mocks * fix: keep setImmediate real under jest fake timers * fix: key iOS pods cache by Podfile.lock hash * fix: allow non-modular React includes in framework modules * fix: drop undefined header values before fetch expo/fetch, installed as the global fetch on native by Expo 57, forwards header entries to the native request verbatim, so an undefined value fails the Kotlin cast to Pair<String, String> and rejects the whole request. * fix: build React-Core from source instead of prebuilt * fix: match Expo import access level with generated provider * fix: adopt Expo 57 AppDelegate contract * fix: compile Hermes bytecode with the legacy compiler * fix: expose header test ids on iOS * fix: expose team channels header test id * fix: remove iOS changes from Android upgrade * ci: make TypeScript check blocking again * fix: restore default submit behavior on login email field * fix: keep test identifiers on iOS accessibility elements * fix: expose test identifiers on accessible elements * fix: keep a single test identifier per element * fix: remove OrSeparator from accessibility focus chain * chore(ios): re-enable prebuilt React-Core and Hermes V1 (#7698) Removed the three Podfile opt-outs (RCT_USE_PREBUILT_RNCORE, RCT_USE_RN_DEP, RCT_HERMES_V1_ENABLED) and the HERMES_CLI_PATH post_install override, letting React Native 0.86 use its prebuilt React-Core/ReactNativeDependencies tarball and Hermes V1 (250829098.0.17) instead of building from source. Dropped the RCTViewManager accessibility-role patch: it only touched the Paper renderer, the app runs on Fabric, and the file no longer compiles under prebuilt Core. VoiceOver role-update behavior is covered by manual smoke testing, not this patch. RNFB pods forced to static libraries in the pre_install hook to avoid a non-modular-include failure on RNFB 21.x; the fix ships in react-native-firebase >= 26.3.0, so this can be dropped on that bump. SocketRocket now ships vendored inside the ReactNativeDependencies xcframework under a namespaced header path, so SSLPinning.mm's import changed from a flat "SRWebSocket.h" to <SocketRocket/SRWebSocket.h>. Copy Pods Resources phases regenerated by pod install, dropping the boost/glog/RCT-Folly privacy bundles that no longer exist as separate pods. * fix(e2e): anchor keyboard navigation login on focus (#7703) * fix(e2e): reach login email field by focus instead of Dpad count The keyboard navigation onboarding flow walked to the email field with four blind Remote Dpad Down presses. Removing the decorative OR separator from the accessibility focus chain shortened the chain by one, so the email was typed into the password field and the password into the email field, and login was never submitted. Press Down until login-view-email reports focused, bounded by times: 10, and assert focus before typing. Maestro returns normally when a repeat bound is exhausted, so without the assertion an over-long chain would fail later at the rooms-list-view wait with an unrelated error. The separator only renders when totalServices > 0, so the chain length depends on server config and no fixed count is correct. * fix(e2e): reach password and submit by focus, hide keyboard first Anchoring the email field exposed two more blind steps in the same flow. The hop to the password field assumed Enter moves focus, and the submit assumed Enter on the password field logs in. Neither had been exercised before, because the flow failed earlier. Press Down until each target reports focused, bounded and asserted like the email field. The submit loop needs the soft keyboard hidden first: with the keyboard up the Dpad presses go to the input method and never reach the login screen, so the submit button is never focused. * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 (#7706) * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 Reanimated 4.6.0 requires react-native-worklets 0.12.x, so both move together. Worklets drops its caret to match reanimated's exact pin. Reanimated 4.6.0 initializes CSS event handling at import time, which the JS-only fallback used by Jest does not implement, so the mock entry point throws on load. Stubbing setCSSEventHandler at its source keeps the rest of the proxy module real. * chore(ios): update Podfile.lock for reanimated and worklets CocoaPods preserves versions already in Podfile.lock, so pod install would not have picked these up on its own. * chore(ios): bump ffi to 1.17.4 for Xcode 27 compatibility * chore(deps): bump react-native-screens to 4.28.0 (#7709) * chore(deps): bump @react-navigation family (#7710) * chore(deps): bump react-native-safe-area-context to 5.10.0 (#7711) * fix(ios): adopt UIScene lifecycle for iOS 27 iOS 27 SDK requires scene-based app lifecycle. The app now uses Expo's ExpoAppSceneDelegate via a new SceneDelegate, with startReactNative and boot splash initialization moved out of the app delegate into the scene delegate. * fix(android): stop gesture-handler buttons hijacking hardware Enter/D-pad The RN 0.86 gesture-handler bump added an Android-only onKeyUp override that intercepts DPAD_CENTER/ENTER/SPACE and activates whichever button currently holds native view focus, bypassing the default performClick() path. Every composer and header icon button is a BorderlessButton, so this silently fired the wrong button (e.g. the header drawer button) on hardware Enter/D-pad and swallowed the key event elsewhere. Removed the hunk; the iOS press-handling hunk is untouched. * fix(a11y): close drawer when navigating to the focused sidebar route (#7717) * fix(a11y): close drawer when navigating to the focused sidebar route Tapping a sidebar entry for the route already focused left the drawer open, because the drawer router only closes it when the focused index changes. Subsequent taps were swallowed by the drawer scrim. * chore(e2e): map ToastsAndDialogs flow to SidebarView The flow reaches Accessibility & appearance through the sidebar, so a change under app/views/SidebarView can break it. Without this the impact analysis never selects its shard for sidebar-only changes. * ci(ios): restore Xcode version pin * ci(ios): pin Xcode 26.6 * chore: tidy RN 0.86 upgrade leftovers * chore(deps): upgrade react-native-gesture-handler to 3.3.0 (#7726) * chore(deps): bump react-native-gesture-handler to 3.3.0 * refactor: migrate gestures to the gesture handler 3 hook API * refactor: replace deprecated gesture handler buttons with Touchable * chore(ios): update Podfile.lock for react-native-gesture-handler 3.3.0 * fix: restore disabled state on Touch after gesture handler 3 migration * fix(android): enable nested scroll on reactions lists inside the action sheet * fix(android): activate focused gesture-handler buttons on hardware Enter/D-pad * test: refresh audio button snapshots after gesture handler upgrade * fix: restore React Native Gradle plugin composite build --------- Co-authored-by: OtavioStasiak <otaviostasiakmusic@outlook.com> * chore: Bump version to 4.78.0 (#7748) * fix: preserve message content while sending file in encrypted channel (#7733) * feat: match e2e labels with web (#7731) * chore: match web copy for undecryptable e2e messages * tests * i18n * action: organized translations --------- Co-authored-by: OtavioStasiak <OtavioStasiak@users.noreply.github.com> * fix: room members list ignoring the "Use real name" setting (#7728) * fix: composer keeps its height after sending a multi-line message (#7747) * feat: allow only one swiped room item at a time (#7719) * chore: replace react-native-restart with expo reloadAppAsync * chore: replace react-native-background-timer with setInterval * chore: bump react-native-localize to 3.7.0 * chore: replace react-native-file-viewer with expo-quick-look * chore: migrate from expo-av to expo-audio and expo-video (#6719) * chore: bump react-native-mmkv and react-native-nitro-modules * chore: drop dead react-native-mmkv patch and tighten its jest mock * chore: RN 0.86 / Expo 57 dependencies, toolchain and patches (#7693) * chore: upgrade dependencies and patches to RN 0.86 / Expo 57 * chore: align upgrade toolchain floors and CI checks * chore: update Jest toolchain for RN 0.86 and Expo 57 * fix: adapt app code to React Native 0.86 and Expo 57 (#7694) * fix: adapt app code to React Native 0.86 and Expo 57 * test: await scheduled gesture and floating date callbacks * fix(ios): support React Native 0.86 and Expo 57 (#7696) * fix(ios): support React Native 0.86 and Expo 57 * test: fix jest failures under Node 22 Resolve Expo's lazy fetch global in jest setup so suites that fully mock react-native no longer crash when jest enumerates globals at teardown. Restore real timers only after Testing Library unmounts, so immediates scheduled with fake timers are cancelled with the same clock. * fix(android): adopt Expo 57 autolinking plugin and drop jcenter from patched libraries Expo 57 removed scripts/autolinking.gradle in favour of the expo-autolinking-settings and expo-root-project Gradle plugins. Gradle 9 removed jcenter(), which @react-native-cookies/cookies and react-native-math-view still declared. Bump the iOS Pods cache key so runners stop restoring Local Podspecs generated for the previous React Native version. * fix(android): build with React Native 0.86 codegen and Expo 57 prebuilt modules Bump @react-native/codegen, babel-preset and typescript-config to 0.86.3 so libraries stop resolving the stale 0.80 codegen. Build the four patched Expo packages from source, since Expo 57 ships prebuilt Android artifacts that ignore patch-package changes. Patch camera-roll to drop string literal unions from its spec, keyboard-controller for the non-null onConfigurationChanged signature, math-view to drop the removed UIManagerModuleListener import, and expo-font for the nullable loadedFonts field. Declare androidx.localbroadcastmanager explicitly and resolve the WRITE_EXTERNAL_STORAGE maxSdkVersion manifest conflict. * fix: drop undefined request headers rejected by Expo fetch Expo 57 installs its native fetch as the global and rejects header entries whose value is undefined. getServerInfo sent X-Auth-Token and X-User-Id as undefined before login, so every deep link login fell back to the Add workspace screen and all E2E flows failed. * test(e2e): wait for LoginView transition before keyboard navigation * fix(login): keep focus on the password field when submitting with a hardware keyboard * fix(ios): compile the release bundle with the hermesc matching the bundled Hermes runtime * fix(ios): expose room header testIDs to accessibility tree An accessible wrapper around the room header hides its children from XCUITest on React Native 0.86, so Maestro could not find the header title or the header button. Move the accessibility label and role to the pressable header, which already exposes its children. * fix(ios): expose rooms list header testIDs to accessibility tree Same cause as the room header: an accessible wrapper inside the native stack header hides its children from XCUITest, so Maestro could not find the servers list button. * fix(ios): bump react-native-linear-gradient to 2.8.3 to stop zero-size layer crash on mention autocomplete * fix(ios): address upgrade review feedback * fix(ios): exclude Android keyboard flow change * fix: update Android build for React Native 0.86 (#7695) * fix: update Android build for React Native 0.86 * fix: restore Android Gradle 9 compatibility * fix: align React Native codegen version * fix: resolve Android storage permission merge * fix: patch Android modules for React Native 0.86 * fix: restore Android local broadcast dependency * fix: build patched Expo modules from source * fix: raise iOS deployment target to 16.4 for Expo 57 * fix: materialize expo fetch global before jest mocks * fix: keep setImmediate real under jest fake timers * fix: key iOS pods cache by Podfile.lock hash * fix: allow non-modular React includes in framework modules * fix: drop undefined header values before fetch expo/fetch, installed as the global fetch on native by Expo 57, forwards header entries to the native request verbatim, so an undefined value fails the Kotlin cast to Pair<String, String> and rejects the whole request. * fix: build React-Core from source instead of prebuilt * fix: match Expo import access level with generated provider * fix: adopt Expo 57 AppDelegate contract * fix: compile Hermes bytecode with the legacy compiler * fix: expose header test ids on iOS * fix: expose team channels header test id * fix: remove iOS changes from Android upgrade * ci: make TypeScript check blocking again * fix: restore default submit behavior on login email field * fix: keep test identifiers on iOS accessibility elements * fix: expose test identifiers on accessible elements * fix: keep a single test identifier per element * fix: remove OrSeparator from accessibility focus chain * chore(ios): re-enable prebuilt React-Core and Hermes V1 (#7698) Removed the three Podfile opt-outs (RCT_USE_PREBUILT_RNCORE, RCT_USE_RN_DEP, RCT_HERMES_V1_ENABLED) and the HERMES_CLI_PATH post_install override, letting React Native 0.86 use its prebuilt React-Core/ReactNativeDependencies tarball and Hermes V1 (250829098.0.17) instead of building from source. Dropped the RCTViewManager accessibility-role patch: it only touched the Paper renderer, the app runs on Fabric, and the file no longer compiles under prebuilt Core. VoiceOver role-update behavior is covered by manual smoke testing, not this patch. RNFB pods forced to static libraries in the pre_install hook to avoid a non-modular-include failure on RNFB 21.x; the fix ships in react-native-firebase >= 26.3.0, so this can be dropped on that bump. SocketRocket now ships vendored inside the ReactNativeDependencies xcframework under a namespaced header path, so SSLPinning.mm's import changed from a flat "SRWebSocket.h" to <SocketRocket/SRWebSocket.h>. Copy Pods Resources phases regenerated by pod install, dropping the boost/glog/RCT-Folly privacy bundles that no longer exist as separate pods. * fix(e2e): anchor keyboard navigation login on focus (#7703) * fix(e2e): reach login email field by focus instead of Dpad count The keyboard navigation onboarding flow walked to the email field with four blind Remote Dpad Down presses. Removing the decorative OR separator from the accessibility focus chain shortened the chain by one, so the email was typed into the password field and the password into the email field, and login was never submitted. Press Down until login-view-email reports focused, bounded by times: 10, and assert focus before typing. Maestro returns normally when a repeat bound is exhausted, so without the assertion an over-long chain would fail later at the rooms-list-view wait with an unrelated error. The separator only renders when totalServices > 0, so the chain length depends on server config and no fixed count is correct. * fix(e2e): reach password and submit by focus, hide keyboard first Anchoring the email field exposed two more blind steps in the same flow. The hop to the password field assumed Enter moves focus, and the submit assumed Enter on the password field logs in. Neither had been exercised before, because the flow failed earlier. Press Down until each target reports focused, bounded and asserted like the email field. The submit loop needs the soft keyboard hidden first: with the keyboard up the Dpad presses go to the input method and never reach the login screen, so the submit button is never focused. * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 (#7706) * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 Reanimated 4.6.0 requires react-native-worklets 0.12.x, so both move together. Worklets drops its caret to match reanimated's exact pin. Reanimated 4.6.0 initializes CSS event handling at import time, which the JS-only fallback used by Jest does not implement, so the mock entry point throws on load. Stubbing setCSSEventHandler at its source keeps the rest of the proxy module real. * chore(ios): update Podfile.lock for reanimated and worklets CocoaPods preserves versions already in Podfile.lock, so pod install would not have picked these up on its own. * chore(ios): bump ffi to 1.17.4 for Xcode 27 compatibility * chore(deps): bump react-native-screens to 4.28.0 (#7709) * chore(deps): bump @react-navigation family (#7710) * chore(deps): bump react-native-safe-area-context to 5.10.0 (#7711) * fix(ios): adopt UIScene lifecycle for iOS 27 iOS 27 SDK requires scene-based app lifecycle. The app now uses Expo's ExpoAppSceneDelegate via a new SceneDelegate, with startReactNative and boot splash initialization moved out of the app delegate into the scene delegate. * fix(android): stop gesture-handler buttons hijacking hardware Enter/D-pad The RN 0.86 gesture-handler bump added an Android-only onKeyUp override that intercepts DPAD_CENTER/ENTER/SPACE and activates whichever button currently holds native view focus, bypassing the default performClick() path. Every composer and header icon button is a BorderlessButton, so this silently fired the wrong button (e.g. the header drawer button) on hardware Enter/D-pad and swallowed the key event elsewhere. Removed the hunk; the iOS press-handling hunk is untouched. * fix(room-list): close other swiped room items when a new one opens Track the currently open swipeable room item in a single UI-thread mutable value (openSwipeItemId) instead of per-item state. Every Touchable reacts to that value and springs itself closed once another row claims it, so only one room can be swiped open at a time. Tapping a room, long-pressing it, or opening its own actions all clear or reassign ownership. Also replaces the abrupt default spring with an explicit, softer config (damping/mass/stiffness) shared by every open/close animation. * test(room-list): drop tautological swipe test, keep mock reverted openSwipeItem.test.ts only asserted that a shared value keeps what was written to it, which added no coverage. GestureDetector/pan behavior isn't exercisable through the existing jest reanimated mocks (useAnimatedReaction is a no-op), so a real cross-row close test isn't practical here without a broader mocking change. Revert the makeMutable jest mock added for that test since nothing else in the suite needs it. * fix(room-list): close open row on press-in of another row * wip: gesture manual restructuring attempt (bisect checkpoint) * fix(room-list): close open swipe row via plain JS registry * fix(room-list): swallow tap that only closes another open row * fix(room-list): close other row's swipe animation from the UI thread Route the cross-row close through a Reanimated shared-value registry so tapping row 2 starts row 1's spring close synchronously on the UI thread, from the pan gesture's onBegin worklet, instead of waiting for a JS-thread hop via scheduleOnRN. The JS-thread round trip could be delayed by other work on that thread, stalling the animation partway through and making it finish as a single jump instead of a smooth spring. * feat(room-list): WhatsApp-style swipe actions and release spring * fix(room-list): match left action width and tighten swipe release rules Left action opens to one action width like each right action. Haptic on the full-swipe threshold fires on both sides and only while the finger is down. Release opens a side only past half an action width; an open row stays open unless swiped fully closed. Release decision extracted to getSwipeRelease with tests. * fix(room-list): refresh row when its record changes Row read state, title, avatar and invite state now come from a useSyncExternalStore subscription to the record, since the compiler cached them on the in-place mutated record. The custom memo comparator is removed. Thread unreads count as unread, matching the badge. * refactor(room-list): write gesture flag with shared value set * fix(a11y): close drawer when navigating to the focused sidebar route (#7717) * fix(a11y): close drawer when navigating to the focused sidebar route Tapping a sidebar entry for the route already focused left the drawer open, because the drawer router only closes it when the focused index changes. Subsequent taps were swallowed by the drawer scrim. * chore(e2e): map ToastsAndDialogs flow to SidebarView The flow reaches Accessibility & appearance through the sidebar, so a change under app/views/SidebarView can break it. Without this the impact analysis never selects its shard for sidebar-only changes. * fix(room-list): show selected room tint only in master-detail On iPhone the row got the tablet selected-room tint while the room was subscribed, so a tap flashed a second time before navigating and the row stayed tinted during the interactive back-swipe. * fix(room-list): re-render row on every record change * fix(room-list): read swipe offset from shared value * test(room-list): assert close resets translation * refactor(room-list): observe row record without opting out of the compiler * fix(room-list): reset closed-row tap guard on every touch * fix(room-list): close previously open row when another row opens * refactor(room-list): address review feedback * ci(ios): restore Xcode version pin * ci(ios): pin Xcode 26.6 * perf(room-list): mount swipe actions only while the row is moved * chore: tidy RN 0.86 upgrade leftovers * chore(deps): upgrade react-native-gesture-handler to 3.3.0 (#7726) * chore(deps): bump react-native-gesture-handler to 3.3.0 * refactor: migrate gestures to the gesture handler 3 hook API * refactor: replace deprecated gesture handler buttons with Touchable * chore(ios): update Podfile.lock for react-native-gesture-handler 3.3.0 * fix: restore disabled state on Touch after gesture handler 3 migration * fix(android): enable nested scroll on reactions lists inside the action sheet * fix(android): activate focused gesture-handler buttons on hardware Enter/D-pad * test: refresh audio button snapshots after gesture handler upgrade * fix: restore React Native Gradle plugin composite build * refactor(RoomItem): settle swipe on the UI thread and mirror it in RTL Derive the open side from the resting offset instead of a separate row state, release and register the row inside the gesture worklet, fire the threshold haptic from the pan update, and flip gesture input and output once for right-to-left layouts. Drop the duplicate long-press gesture and skip the snapshot rebuild on the record's initial emission. * fix(RoomItem): close the open row when a swipe-disabled row is tapped * refactor(RoomItem): move swipe utils and room snapshot hook into subfolders --------- Co-authored-by: OtavioStasiak <otaviostasiakmusic@outlook.com> * regression: black empty status bar on Android 14 (#7749) * fix: Cyrillic filenames uploaded percent-encoded (#7741) * test: add unit test for loadThreadMessages (#7712) * fix: composer placeholder fits the input width (#7753) * fix: composer placeholder fits the input width * fix: composer shows the message text when editing it * fix: rooms list re-renders every row when a room opens (#7762) * fix: Directory list drops, repeats and mixes rows when paging (#7760) * fix: Directory list drops, repeats and mixes rows when paging * chore: remove inaccurate comment on Directory initial search effect * fix: Directory drops repeated rooms within a page and stale pages during search debounce * fix: hide previous Directory results while a new search is pending * fix: make the first UIKit block message cheap to mount (#7764) Loading @rocket.chat/ui-kit and @rocket.chat/message-parser on first use made the first block message in a room take ~100 ms to mount. The rooms list now loads both when the JS thread is idle. MessageBlock is now a stable component, so a re-render no longer remounts the block subtree, and rendered blocks are keyed, which removes the missing-key error on InfoCard. * perf: render avatars once on mount (#7756) * perf: read avatar ETag synchronously on first render Avatars used to render twice on mount: once with an empty ETag, then again after an async WatermelonDB lookup resolved. The ETag is now read synchronously through the JSI adapter and kept in sync with useSyncExternalStore, and the Redux config reads collapse into one structured selector. * test: reset avatar ETag mocks between tests * test: mock useAvatarETag in the global jest setup * fix: read enterprise modules from licenses.info (#7746) * fix: register deep link listener on mount (#7767) * chore: refresh agent docs and add coding standards (#7769) * chore: refresh agent docs and add coding standards Trim CONTEXT.md, fix stale CLAUDE.md/README claims (Android 7.0+, bundle install, pnpm test), add CODING_STANDARDS.md for reviewers, complete the CI call graph, point the PR template at this repo's CONTRIBUTING.md, and drop the dead 'e2e' jest ignore that skipped every test in paths containing e2e. * chore: drop restated lint config and CI call graph, flag tautological tests * chore: add comment and test rules to coding standards * test: add attachment-send e2e flow for image library upload (#7720) * fix(e2e): reach sidebar Accessibility item by focus instead of Dpad count (#7774) The flow opened the drawer and pressed Left, Down, Down to reach Accessibility & Appearance. Left only moved focus because every room row kept its swipe action buttons mounted behind the row, and Down from one of those hidden buttons landed on the drawer's Profile item. Swipe actions now mount only while a row is swiped, so Left has nowhere to go and the two Downs stop on Edit status. Press Down until the Accessibility item holds focus, bounded and asserted like the login steps in the onboarding flow. The focused view is the keyboard-focus wrapper, which carries no testID, so the selector matches it by its sidebar-accessibility descendant. * feat: Categories display option controls custom categories (#7766) * fix: validate attachment url origin before appending credentials (#7754) * fix: enable editMode on expo quick look preview file (#7780) * fix: harden session and Basic auth headers across servers (#7755) * fix: scope getServerInfo request headers to known servers Only attach the stored auth headers when the user is already signed in to the requested server, and add tests. * fix: only send auth headers in getServerInfo to servers the user is signed in to Drops the Basic auth handling and skipCustomHeaders option from the previous commit and reverts fetch.ts to develop. * remove comment * coderabbit suggestion * fix: address review comments for deep-link consent and getServerInfo - extract getSessionHeaders to fix oxlint complexity - move getServerInfo test to __tests__ folder - prompt before first request to new deep-link host * fix: scope Basic Authorization to requested server in getServerInfo Load Basic auth only for the requested host and skip global customHeaders so deep links to unknown hosts no longer receive the active workspace credentials. * refactor: pass serverRecord to ensureDeepLinkLoginConsent and cover the known-host branch The callers already hold serverRecord, so the consent check no longer re-reads MMKV and the database. The known-host test now uses a server record without a signed-in user so it reaches the new branch. * fix: scope Basic Authorization on the cloud lookup and add-server requests getUniqueId and the add-server requests (getLoginServices, getLoginSettings) still merged the global custom headers, so the current workspace's Basic Authorization reached the requested host after the scoped /api/info call. getUniqueId now sends only the requested server's stored Basic auth, and handleServerRequest points the global Basic auth at the requested server before making any request. * fix: keep Basic auth and session headers scoped to the right server - restore the active workspace's Basic auth when the add-workspace flow is closed - stop sending the global Basic auth to the releases.rocket.chat lookup - require the stored token, not only the user id, before sending session headers - cover the call-push consent branches * fix: end the VoIP call when the sign-in prompt is declined * test: restore customHeaders after each fetch test and drop redundant skipCustomHeaders assertions * revert: move applyBasicAuth handling in selectServer out of this PR * Revert "revert: move applyBasicAuth handling in selectServer out of this PR" This reverts commit 48a3f45d2dde5b59a2afa0d9d7e328f38f09f0f2. * revert: drop VoIP call cleanup on declined deep-link consent Reverts 924bbf741. The extra handleVoipAcceptFailed call on the decline branch is not part of the credential-leak fix this PR is about. * fix: restore the active workspace's Basic auth when the add-workspace flow finishes Re-apply the connected workspace's stored Basic auth on FINISH_ADD so a failed probe can't leave the probed host's header on later requests. * fix: restore the active workspace's Basic auth as soon as the add-workspace probe ends handleServerRequest swaps the global Basic auth to the probed host and only handed it back on FINISH_ADD, so a failed connect left the active workspace's requests carrying the wrong Authorization until the form unmounted. Restore it in a finally block instead and drop the FINISH_ADD watcher, which keyed off sdk.host before the new connection existed. * fix: address review comments on scoped probe auth and deep-link consent - Guard hardware back while the add-workspace check runs so the active workspace Basic auth can't leak to the probed host - Drop the redundant global Basic auth write in NewServerView - Let fetch callers' headers win over global custom headers and add the getBasicAuthKey helper - Send per-request Basic auth in getLoginServices/getLoginSettings and scope the global swap in getWebsocketInfo to the handshake only, so the probe no longer touches the shared headers - Thread the requested server version through the cloud unique-id lookup - Neutral deep-link consent copy for tokenless links * chore(i18n): add Deep_link_open_* strings for tokenless deep-link consent * refactor: simplify scoped Basic auth handling and share stored-session lookup - keep the add-workspace websocket handshake swap inline in getWebsocketInfo - read the stored user id and token through getStoredSession everywhere - select the deep-link consent copy from a table instead of repeated ternaries - only swallow hardware back while connecting when there is a workspace to return to - remove explanatory comments from tests * refactor: fold add-workspace back guard into handleBackPress * test: cover the add-workspace hardware back guard in NewServerView * fix: restore the active workspace headers before the add-workspace handshake settles * fix: scope the auto-lock time sync request to the requested server's Basic auth * refactor: share applyBasicAuth and finish the deep-link consent rename * fix: end the VoIP call when the deep-link open prompt is declined Also rename shouldAutoConfirmDeepLinkLogin to shouldAutoConfirmDeepLinkConsent now that it gates both prompts. * test: seed a stale header in the reselect test and use ~/ imports in the new tests * fix: skip the DM navigation when the deep-link open prompt is declined after a failed VoIP accept Declining the prompt only needs to end the call and reset the VoIP state. Running the full failed-accept handler also tried to open a DM with the caller on the active workspace, which is not the host the user declined. * fix: send Basic auth to the iframe SSO endpoint only on the server's own origin The iframe login fetch went through the shared headers, so it carried the active workspace's Basic Authorization to whatever host Accounts_Iframe_api_url points at. It now sends the stored Basic auth only when the URL has the same origin as the server. * test: drop dead active-server setup from the probeAuth tests * refactor: restore isLoggedInServer to read only the user id * test: use ~/ imports for collaborators in getServerInfo and getLoginSettings tests * test: move logout test into __tests__ and use ~/ paths in jest.mock calls * test: use fake timers in getServerTimeSync tests to stop leaking the race timeout * test path fix * test: drive the probe handshake through the real SDK so header timing is pinned at WebSocket construction * refactor: rename getBasicAuthHeader module to serverBasicAuth * fix: send /api/info the requested server's own stored session * refactor: read the stored session through getStoredSession in removeServer test: cover the back handler when connecting flips after mount * fix: send each page of the public settings fetch the requested server's own Basic auth * refactor: address review feedback on basic auth and deep-link consent helpers Drop the unreachable early-return applyBasicAuth and its test, fold setBasicAuth into applyBasicAuth, rename the probe test array, and pass isKnownHost to ensureDeepLinkConsent. * fix: time out the add-workspace probe when the host never answers Race the probe against a 30s timer so a host that accepts the connection and never responds can't leave the user stuck on Add workspace, and show a dedicated Connection_timed_out message. * fix: abort the add-workspace probe requests when it times out or is superseded A probe that timed out kept its settings and login-services requests running, so a late reply could overwrite the active workspace's settings. The probe now shares one abort signal across its requests and closes the websocket probe on abort. * using workspace instead of server * some more changes * refactor: share the workspace basic auth helpers and abort the whole add-workspace probe Every per-workspace request now goes through fetchForWorkspace, and the websocket handshake header swap through withBasicAuth, both in serverBasicAuth, so a call site can no longer forget to scope the Basic auth. The probe's abort signal now also reaches the /api/info, unique-id and supported-versions requests; an abort that comes from that signal leaves the store alone instead of failing the active workspace's connection. The NewServerView back handler is back to plain functions with explicit effect deps, the getLoginSettings tests live in getSettings.test.ts, and the fetch spy shared by the basic auth tests is testUtils/mockGlobalFetch. * refactor: drop unrequested renames in logout test and deep-link auto-confirm helper * fix: send the shared Basic auth only to the workspace origin fetch attaches the shared Authorization only to the origin applyBasicAuth recorded it for, and fetchForWorkspace sends the stored Basic auth only to the server's own origin. This replaces the per-call Authorization overrides on the supported-versions lookup and the iframe SSO request, and moves the origin comparison into isSameOrigin next to getOrigin. * refactor: restore the inline session read in removeServer Logout is left for a follow-up, so removeServer reads the stored user id and token the way it did before. * refactor: let the deep-link callers decide whether consent is needed Drops the isKnownHost flag from ensureDeepLinkConsent. handleOpenDifferentServer and handleClickCallPush now skip the prompt for known hosts without a token. * test: move the logout test into __tests__ Uses ~/ paths in the jest.mock calls. * refactor: share the deep-link consent predicate between both callers handleOpenDifferentServer and handleClickCallPush repeated the same "token or unknown host" condition, which pushed handleClickCallPush over the cognitive complexity limit. Name it once as requiresDeepLinkConsent. * refactor: keep the add-workspace probe result typed through the timeout race * chore: adopt react-doctor and fix its findings (#7765) * chore: add react-doctor * refactor: use shared value get/set so React Compiler compiles animated components * refactor: declare functions before effects use them * refactor: use useWatch and drop try/finally so React Compiler compiles form views * chore: run the pinned react-doctor * fix: report room loading in the same render as a rid swap * refactor: derive state in render instead of syncing it from effects * fix: flag the next 2FA prompt as invalid after a rejected code The retry read twoFactorCode from a stale render closure, so it was always null and the second prompt never showed the invalid state. Keep it in a ref instead. * refactor: retry the profile password change directly and drop the runInit comment * chore: pin react-doctor to an exact version * refactor: keep values that never render in refs * refactor: initialize state lazily * refactor: use per-method lodash imports, Set lookups and Object.fromEntries * refactor: check room action permissions in parallel * refactor: drop try/finally and redundant memoization so React Compiler compiles more views * chore: run react-doctor through npx latest instead of a pinned devDependency * refactor: compute values before try blocks so React Compiler compiles more views * fix: save the latest composer text as the draft * fix: guard 2FA error details and validate the values ProfileView submits * refactor: resolve quote permalinks in parallel and batch presence writes * refactor: use Set lookups for selected options, roles and setting keys * refactor: render header and list items inline instead of nested components * refactor: derive loading and user roles in render instead of setting them in effects * chore: waive react-doctor findings with documented reasons * refactor: save the composer draft from a single effect * refactor: check room action permissions in one hasPermission call * fix: ignore endpoint responses that arrive after a newer request * fix: skip unresolved permalinks when quoting messages * fix: URL preview card no longer shifts the room on open (#7761) * fix: URL preview card no longer shifts the room on open * test: update URL story snapshots for the reserved preview image * fix: bound URL preview image height before the width is measured * chore: migrate DDP methods to REST endpoints (#7783) * chore: migrate getThreadMessages ddp method to chat.getThreadMessages rest api (#7773) * feat: livekit conference support (#7661) * feat: open video conferences in workspace conference window * coderabbit changes * fix: set host-only conference auth cookies via setFromResponse * fix: harden the conference window against logout, iframes and stale calls Review follow-ups on the workspace conference window: - Clear the call state and expire the seeded rc_uid/rc_token cookies on logout. The overlay is mounted outside the navigator, so nothing else unmounted it: the minimized bar rendered over the login screen and expanding it produced a webview with no route to dismiss it. - Honour isTopFrame in onShouldStartLoadWithRequest. iOS reports subframe navigations there too, so a cross-origin provider embed was being cancelled and handed to the external browser. - Gate the feature on a secure server. Cleartext workspaces now fall back to the regular join flow instead of loading a page that the webview's own guards then reject. - Correlate the preflight carry-over on rid, so joining a call from another room no longer inherits the previous room's page. - Add a minimize control to the overlay, pop ConferenceView when the call ended under another screen, and drop the call when the server changes. - Surface load failures with retry/close instead of a blank overlay. - Keep the minimized bar off RoomView's composer. - Fix the IPv6 loopback allowance, which never matched WHATWG's bracketed hostname, and keep the injected bridge script ES5. - Only request ACCESS_FINE_LOCATION on API 29/30, and declare BLUETOOTH_SCAN as neverForLocation. Move isConferenceWindowEnabled to methods/helpers and drop the unused useConferenceWindow hook. * refactor: return to a conference call from the media call header Replace the custom "Return to call" bar with MediaCallHeader, the header the VoIP call already uses, so both call types are returned to the same way. The header is a flow sibling above the navigator rather than an overlay, so screen content is pushed down instead of covered — which also removes the bar's overlap with RoomView's composer. When no VoIP call is active and a conference call is, the header renders the conference row: expand, the call title, and end call, built from the same HeaderButton primitives. A VoIP call still wins if both somehow exist, which isInActiveVoipCall already prevents. Extract expand/minimize/close into conferenceCallNavigation so the header, the webview overlay and openConferenceCall cannot disagree about what each one means, and keep the store itself free of navigation. * fix: drop the overlay minimize button from the conference call The conference page provides its own controls, so the button duplicated them and overlapped the page's call timer. Remove it, along with the minimizeConferenceCall action and the Minimize_call string it was the only user of. ConferenceView still reports the minimize on blur, so popping the route keeps the call alive in the background. * fix: gate conference bridge on per-session token and pop conference on server switch - Mint an unguessable bridgeToken per WebView mount and require it on incoming rc-conference messages, so cross-origin child frames on Android cannot forge close/openInMainWindow. - Use closeConferenceCall() for the server-change cleanup so the empty ConferenceView route is popped when it is showing. * fix: always request Android BT permission and sync conference cookies with credentials * more changes * refactor: harden conference call navigation and logout cleanup - expandConferenceCall no-ops with no active call instead of pushing an empty ConferenceView - ConferenceView selects store fns individually and guards back() against deep-link races - logout uses closeConferenceCall so the route pops; removeServer also clears server cookies - align ConferenceViewScreen wrapper with JitsiMeetViewScreen * fix: gate conference credentials on same-origin and drop stale opens - ConferenceWebView injects cookies, Cookie header and bridge credentials only when the url matches the server origin, not merely HTTPS - openConferenceCall drops a pending open invalidated by close/logout/server-switch via a generation counter plus a server re-check * fix: close conference window review findings Address six issues found reviewing the branch against develop, plus two tests that never exercised the guards they claimed to. - ConferenceWebView: the same-origin navigation guard failed open on Android. react-native-webview builds the synchronous shouldOverrideUrlLoading event without isTopFrame (only the legacy fallback event sets it), so `!isTopFrame` was always true and every navigation skipped isConferenceUrl — handing the bridge script, the login token and the rc_uid/rc_token cookies to any origin. Test for `isTopFrame === false` instead; Android never raises this callback for inner frames, so nothing legitimate is blocked. - deepLinking: handleNavigateCallRoom still passed the old positional `true` after videoConfJoin moved to an options object, so fromPush and rid both destructured to undefined — push-accepted joins reported error-init-video-conf instead of Missed_call, and rid never reached openConferenceCall. - setServerCookies: the new secure-url check broke Jitsi auth on cleartext self-hosted servers, which JitsiMeetView swallowed before mounting the WebView with no credentials. Add an explicit allowInsecureServer opt-in for that caller; the conference window still refuses cleartext upstream. - ConferenceWebView: the cookie effect reset cookiesSet, which gates mounting the WebView, so a mid-call token refresh tore down the live WebRTC session. Write the cookies without unmounting. - Move ConferenceView from ChatsStack to the root InsideStack, next to CallView. MediaCallHeader is mounted app-wide, so "return to call" from Settings, Profile or Admin set expanded without the navigate ever resolving, leaving a full-screen overlay nothing could minimize. - openConferenceCall: throw for the states it cannot serve (window disabled, un-buildable url) so callers surface an error instead of the user tapping Join to no effect; stay quiet only for calls the user themselves superseded. Add the missing alert in useVideoConf. The two openConferenceCall tests covering the generation guard and the server-changed check resolved their permission mock before it was called, so they threw before asserting. Await the request instead; both now fail if either guard is removed. * fix: gate trusted conference mount on per-server cookie write * fix: scope conference cookies to the workspace path * fix: restrict conference window.open() to http(s) urls * more changes * style fix * remove screenshare as it is not showing alert * fix: request BLUETOOTH_CONNECT for call audio on Android 12+ WebRTC audio in the conference and Jitsi WebViews routes via the OS audio manager, so BT headsets need BLUETOOTH_CONNECT at runtime on API 31+. Declare it in the manifest (audio-only, neverForLocation) and request it in the shared VoIP permission helper without blocking the call on denial. Also gate the trusted WebView mount per-URL so trusted->trusted switches re-write cookies. * fix: address coderabbit review 5209937314 - gate conference WebView mount on successful cookie write with retry - reject unsafe credential values in server cookies - scope conference calls to owning server * fix: address coderabbit review 5210904214 * refactor: gate the conference window on the livekit provider, not a client setting VideoConf_Conference_Window_Enabled only ever encoded web-only UI concerns (popout reuse, ongoing-calls list) and had no bearing on whether the /conference/:id page actually works — so mobile was gating on the wrong signal. Branch on providerName from the capabilities/join responses already being fetched instead, which reflects the real per-call provider and keeps old servers on the legacy Jitsi/link flow automatically. * remove comment... * some cleanup * Change status bar color and change permission to allow media all time * test fix * fix: require https before attaching conference credentials isSecureHttpUrl allowed http loopback for local-dev navigation, but ConferenceWebView reused it to gate cookies, the credential bridge, and the Cookie header too — leaking rc_token in cleartext for an http loopback server. Gate credentialsAllowed and setServerCookies on a strict https check instead, keeping loopback http navigable but never credentialed. * chore: remove review comments * fix: use theme colors for conference background * feat: add Return_to_call translations to all locales * chore: replace magic number with HEADER_TOP_PADDING in MediaCallHeader --------- Co-authored-by: Diego Mello <diegolmello@gmail.com> * fix: use sipExtension instead of freeSwitchExtension on servers >= 9.0.0 (#7796) * fix: hide Omnichannel and skip Inquiry requests when Livechat_enabled is off (#7803) * perf(android): enable R8 minification and resource shrinking (#7787) * perf(android): enable R8 minification and resource shrinking Turn on minifyEnabled and shrinkResources for release builds with the optimize defaults. Keep the Gson models and the classes that native code or reflection look up by name. Bump Gson to 2.13.2 and the Crashlytics Gradle plugin to 3.0.8, whose mapping upload works on Gradle 9. * chore(android): narrow R8 keep rules Keep only the WatermelonDB JSI classes and the generated $$ReactModuleInfoProvider constructors, which are the ones looked up by name. Drop @Keep from the VoIP Gson models: Gson's bundled R8 rules keep @SerializedName fields and the no-arg constructor. Inline the always-true minify flag. * chore(android): drop ReactModuleInfoProvider keep rule No $$ReactModuleInfoProvider class is generated in this build; every package that looks one up by name falls back to an inline provider. * feat: Liquid Glass support (#7707) * fix local navigation package resolution * use local libs * chore: regenerate native-stack and react-native-screens patches from fork Derive patches/@react-navigation+native-stack+7.19.2.patch and patches/react-native-screens+4.28.0.patch directly from the diegolmello forks' feat/legacy-header-subtitle branches (diffed against their merge-base with the registry release), instead of the prior hand-written headerSubtitle-only patch. Adds headerTitleImageSource and headerSubtitleImageSource, which useNativeRoomHeader already expects. Drop the tsconfig path alias that forced tsc to resolve @react-navigation/native-stack straight to the package's .tsx source; the patch now covers lib/typescript/src/types.d.ts, so the alias is no longer needed and was the cause of a stale type-checking failure. * chore: update Podfile.lock after pod install Refresh the React-Core-prebuilt checksum after reinstalling pods against the reverted react-native-screens and native-stack deps. * feat(header): add native header item helpers for outside-stack screens Adds outsideHeaderRightLegal/outsideHeaderLeftClose helpers to render the Legal/Close buttons via unstable_headerRightItems/LeftItems on iOS native headers, falling back to the existing HeaderButton components on Android. Login, NewServer and Register views now use these helpers instead of setting headerRight/headerLeft directly. * refactor(header): consolidate room header right buttons into shared components Removes the platform-specific *RightButtonsNative components and useRoomRightButtonsNativeData in favor of a single useRoomHeaderRightItems hook shared by RoomRightButtons, ThreadRightButtons and OmnichannelRightButtons. RoomsListView's useHeader is updated to match. * fix(test): match both Android back-button testIDs in go-back helper The custom Android header (app/containers/Header/index.tsx) renders the back button with testID 'custom-header-back', while some screens using HeaderBackButton directly keep the default 'header-back'. The Android branch of the go-back helper only matched 'header-back' as a full regex, so it never found the header rendered by the custom Header component and failed with 'Element not found: Id matching regex: header-back'. * fix(test): match iOS native header items by label instead of testID iOS native stack header items (unstable_headerLeftItems/RightItems) and the iOS 26+ native room title carry no accessibilityIdentifier, only a label/text. Add tap-header-item and assert-room-title helpers that tap or assert by testID on Android and by visible label/text on iOS, and wire them into the sidebar, create-channel, directory, room-title and room-actions-overflow flows that previously assumed a testID existed on both platforms. * fix(test): migrate remaining Maestro flows to iOS-safe header assertions Native iOS header items on RN's new-architecture stack carry only a visible label, no accessibilityIdentifier, so id-only assertions for rooms-list-view-sidebar/create-channel and room-view-title/header never matched on iPhone. Route these through the existing tap-header-item/assert-room-title helpers, or inline android/iOS branches matching iOS by text. * fix(test): match iOS back button by label instead of testID go-back.yaml's iOS branch still tapped id: 'Back', but headerBackButtonDisplayMode: 'minimal' leaves no accessibilityIdentifier on the native back button, only the 'Back' accessibility label. This was the dominant cause of iOS Maestro failures in run 35878569115 shards 5 and 8 (Change Avatar, Broadcast, Setting, User Preferences, Display Perf, Status). * fix(ios): render Liquid Glass on native headers MediaCallHeader rendered an empty placeholder with no active call, which covered the status bar area and hid the glass effect on native header bars. It now returns null there. The forced opaque header styling (themedHeader on iOS, RoomsListView headerStyle and scrollEdgeEffects) was removed so the system bar can render Liquid Glass. * feat(ios): use app icons on native header buttons * fix(ios): load local header icons synchronously to avoid title flash * fix(a11y): close drawer when navigating to the focused sidebar route (#7717) * fix(a11y): close drawer when navigating to the focused sidebar route Tapping a sidebar entry for the route already focused left the drawer open, because the drawer router only closes it when the focused index changes. Subsequent taps were swallowed by the drawer scrim. * chore(e2e): map ToastsAndDialogs flow to SidebarView The flow reaches Accessibility & appearance through the sidebar, so a change under app/views/SidebarView can break it. Without this the impact analysis never selects its shard for sidebar-only changes. * fix(ios): render room title icon with the title on first frame * fix(ios): size room header icons to the title font and restore title/subtitle colors * fix(ios): keep drawer content below the status bar * feat(ios): open room header overflow actions as a native menu * fix(ios): match custom header icon size to system bar icons * feat(ios): open room actions from the native room title * feat(ios): open workspaces from the rooms list title * chore(ios): patch screens and native-stack for title press and icon labels * feat(ios): use the native back button in the room header * fix(ios): match header icon spacing to system bar items * fix(ios): guard room header title before formatting * feat(ios): present tablet modals as native form sheets * fix(ios): show the room back button only when it can go back * feat(ios): use the native glass header for the tablet rooms list * fix(ios): dismiss the tablet rooms search when a room opens * fix(ios): use native room header items on tablet * fix(ios): let the tablet rooms search be cancelled * fix(ios): show the room avatar in the tablet room header * fix(ios): tint native headers with the theme surface color Stack headers use surfaceNeutral as on develop. The rooms list header, which content scrolls under, uses a translucent surfaceNeutral over a blur so the tint shows while the bar stays translucent. * refactor(ios): gate native headers on iOS 26 and drop dead header code * fix(ios): restore rooms list large title and bottom search bar on iPhone * fix(ios): merge header right buttons and fix threads list header * chore(ios): replace app icon with Icon Composer icon * fix(test): restore sequential Android back taps in go-back helper * fix(test): pop to the rooms list before navigating to a room * ci(ios): restore Xcode version pin * ci(ios): pin Xcode 26.6 * feat(ios): use Expo UI List for List.Container (#7721) * fix(ios): scope liquid glass input to StatusView and fix its borders * fix(ios): align rooms list large title and match its background * feat(ios): default avatar border radius to 8 on iOS 26 * fix(ios): add vertical padding to room actions info row on iOS 26 * fix(ios): use native header search and list indicators on members, directory and add users * fix(ios): drop large titles and align list screens with native headers * chore(ios): update Xcode project * fix(ios): match room back chevron weight to the system back button * ci: add preloadNativeHeaderIcons saga to test map * perf(ios): render directory with FlashList and a React Native list row * refactor(ios): split list row trailing action and build header items from one table * fix(ios): match room actions info row disclosure and background to native rows * fix(ios): show connection state in DM header and share room type icon names * fix(ios): use Icon Composer app icon for the Watch target * fix(ios): present modals as native page sheets * chore: tidy RN 0.86 upgrade leftovers * chore(deps): upgrade react-native-gesture-handler to 3.3.0 (#7726) * chore(deps): bump react-native-gesture-handler to 3.3.0 * refactor: migrate gestures to the gesture handler 3 hook API * refactor: replace deprecated gesture handler buttons with Touchable * chore(ios): update Podfile.lock for react-native-gesture-handler 3.3.0 * fix: restore disabled state on Touch after gesture handler 3 migration * fix(android): enable nested scroll on reactions lists inside the action sheet * fix(android): activate focused gesture-handler buttons on hardware Enter/D-pad * test: refresh audio button snapshots after gesture handler upgrade * fix: restore React Native Gradle plugin composite build * fix(ios): render sidebar sections inline in iPad settings * fix(ios): keep stacked search bars visible when lists scroll * test(ios): tap the room header title by testID to open room actions * test(ios): adapt e2e helpers to the native header * test(ios): open the servers list from the rooms list title by testID * fix(ios): keep share list rows clear of the native header * refactor: group List and NativeListRow into components, utils and hooks folders * refactor: dedupe native header and list helpers * refactor: drive header actions from one native/JS adapter * refactor: move RoomView header hooks into leaf components * refactor: tidy RoomView header leaves and cover render isolation * test(ios): match the native back button and legal bar item by stable selectors * test(ios): tap the unread-badge back button by label when BackButton is absent * fix: Directory list drops, repeats and mixes rows when paging * chore: remove inaccurate comment on Directory initial search effect * fix: Directory drops repeated rooms within a page and stale pages during search debounce * fix: hide previous Directory results while a new search is pending * perf: read avatar ETag synchronously on first render Avatars used to render twice on mount: once with an empty ETag, then again after an async WatermelonDB lookup resolved. The ETag is now read synchronously through the JSI adapter and kept in sync with useSyncExternalStore, and the Redux config reads collapse into one structured selector. * test: reset avatar ETag mocks between tests * test: mock useAvatarETag in the global jest setup * fix: composer placeholder fits the input width * fix: composer shows the message text when editing it * fix: profile header uses native bar buttons * fix: drawer screens use native bar menu button * fix: modal screens use native bar close button * fix: modal header actions use native bar buttons * fix: apps modal uses native bar buttons * fix(test): status flow on iOS native list and header * feat: rooms list new message button floats at the bottom On iOS 26 it is a prominent Liquid Glass toolbar item beside the search field. Below iOS 26 and on Android it is a floating action button. * feat: collapse and expand rooms list sections * perf: avoid rooms list re-renders when toggling a section * feat: animate rooms list section collapse and expand * feat: restyle rooms list section headers * feat: compact rooms list rows with smaller avatars * feat: open display preferences from the rooms list header * chore: hide push troubleshooting header button in development builds * fix: use tint surface for the rooms list background * fix(ios): apply theme surfaces to native lists * fix: derive black theme from dark with darker backgrounds * fix: room header title icon keeps its color * fix: rooms search closes when a room opens * fix(ios): native list text accessory keeps the caller color * fix(ios): themed header leaves the native bar background alone * fix(ios): room body focus anchor only with the native header bar * chore: replace explanatory comments with names * refactor: split rooms list header into native and JS hooks * refactor: share one search header builder across list screens * refactor: one close header helper * refactor: drop the room right buttons wrapper * refactor: memoize the avatar record lookup * refactor: size the section reveal from the toggled section * refactor: inline the animated room row wrapper * fix(ios): match native title presses inside the bar only Drops the unused large-title margin workaround and the patch hunks for source files the app never loads. * revert: size the section reveal from the toggled section Updating the cover and the collapsed groups in separate renders blanks the list for a frame when the last section collapses. * refactor: pass list button props explicitly * chore: drop stale todo on drawer navigator params * test: move row marker test beside its source * test(e2e): drop comments from back and header item helpers * test(e2e): pop to rooms list through the go back helper * test: reset the native header bar mock before each media call header test * refactor: name the list separator mode after its value * refactor: share the select list selection indicator * style: rest…
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Bumps
react-native-screensfrom 4.26.2 to 4.28.0. No API changes are required on our side: the only reference in app source isenableScreensinapp/index.tsx, and headers go through@react-navigation/native-stackrather than directreact-native-screensimports.The behaviour change worth noting across these versions is 4.27.0 switching the
backTitleVisibledefault from the string'true'to the booleantrue. There is nobackTitleVisibleusage in this repo, so nothing to adapt.ios/Podfile.lockalso picks up recomputed spec checksums forRNReanimatedandRNWorklets. Their versions are unchanged; a realpod installrecalculated hashes that had previously been written by hand, so these are now the values an install actually produces.Issue(s)
https://rocketchat.atlassian.net/browse/NATIVE-1660
How to test or reproduce
Install dependencies and pods, then run the app on both platforms and exercise navigation: drawer open/close, pushing and popping native stack screens, and the native stack headers.
Screenshots
Types of changes
Checklist
Further comments
Typecheck, lint and the full unit test suite pass locally. The navigation smoke test on device has not been run yet.
Summary by CodeRabbit