diff --git a/ios/Video/RCTVideoManager.swift b/ios/Video/RCTVideoManager.swift index dbe83ba0..b5c5f491 100644 --- a/ios/Video/RCTVideoManager.swift +++ b/ios/Video/RCTVideoManager.swift @@ -4,7 +4,13 @@ import React @objc(RCTVideoManager) class RCTVideoManager: RCTViewManager { override func view() -> UIView { - return RCTVideo(eventDispatcher: (RCTBridge.current().eventDispatcher() as! RCTEventDispatcher)) + // `RCTBridge.current()` returns nil under bridgeless (New Architecture), and it + // is nonnull-annotated, so Swift emits an unconditional nil-check trap around + // the call -- optional chaining does not avoid it. Every