[iOS SDK] Host app stops receiving touches after leaving a conference with SDK 13.2.0 on iOS 26+ (react-native-screens 4.23.0)
What happened?
After upgrading the iOS SDK from 13.1.1 to 13.2.0, the host app stops responding to every touch once a conference ends and the JitsiMeetView is removed. The app UI is visible and rendering, but no tap or scroll reaches it, and it stays that way until the app is killed. Android is not affected.
The only fix so far is to go back to 13.1.1 and pin it.
The app's main UIWindow is left with userInteractionEnabled = NO (see the log below).
Steps to reproduce
- Embed JitsiMeetSDK 13.2.0 in an app and run it on a device with iOS 26 or iOS 27.
- Join a conference and hang up.
- On
readyToClose, remove theJitsiMeetViewfrom its superview, as the Swift sample does incleanUp(). - The host app no longer reacts to touches.
I hit this through jitsi_meet_flutter_sdk 13.2.0, whose iOS view controller tears the view down the same way as the Swift sample. I have not reproduced it with the native sample app itself.
Likely cause
This comes from reading the sources; I have not stepped through it in a debugger.
- 13.2.0 bumped
react-native-screensfrom 4.17.1 to 4.23.0 (#17757,package.json). - In 4.23.0, on iOS 26+,
-[RNSScreenView willMoveToWindow:]callsdisableInteractionsForSubtreeWith:whether the screen is entering or leaving the window. RNSViewInteractionManagerwalks up the superviews until it finds anRNSScreenStackViewor theUIWindow. Jitsi's root navigator is@react-navigation/stack, so there is noRNSScreenStackViewand the walk ends at the host app'sUIWindow, which getsuserInteractionEnabled = NO.- Interactions are re-enabled only from
RNSScreen'sviewDidAppear/viewDidDisappear, the presentation-controller callbacks, and-[RNSScreenStackView didMoveToWindow]. When the whole React root view is removed from the window, the window stays disabled. - In 4.17.1 the same hook was
newWindow.userInteractionEnabled = false, which does nothing when the screen leaves the window (newWindowisnil). That is why 13.1.1 is not affected.
Suggested fix
Bump react-native-screens to 4.24.0 or later. 4.24.0 turned this interaction blocking off by default (software-mansion/react-native-screens#3631) and 4.26.0 removed it (software-mansion/react-native-screens#3901). master is still on 4.23.0.
Platform
- Custom app using a mobile SDK
Browser / app / sdk version
iOS SDK 13.2.0 (13.1.1 works). Reproduced on several devices running iOS 26 and iOS 27 (for example an iPhone 15 Pro on iOS 27.0.1). Xcode 27.0.
Relevant log output
# Logged on every tap or scroll after leaving the conference
[SystemGestureUpdate] Unexpected nil window in latent system gesture client update: windowServerHitTestWindow: <UIWindow: 0x1175e4000; frame = (0 0; 393 852); userInteractionEnabled = NO; gestureRecognizers = <NSArray: 0x117634e60>; layer = <UIWindowLayer: 0x11536ce40>>, touch: <UITouch: 0x144769dc0> type: Direct; phase: Stationary; is pointer: NO; tap count: 1; force: 0.000; window: (null); responder: (null);Reproducibility
- The problem is reproducible on meet.jit.si
More details?
Self-hosted Jitsi server. The SDK is consumed through jitsi_meet_flutter_sdk 13.2.0; the plugin's own code is identical between 13.1.1 and 13.2.0, so the change is in the native SDK.
The code path is behind @available(iOS 26, *), so earlier iOS versions should not be affected. Android works fine on 13.2.0.
Source: jitsi/jitsi-meet