From b5ccc48476d958f6b70d8a163a8d1209d1c3c302 Mon Sep 17 00:00:00 2001 From: Krzysztof Moch Date: Thu, 18 Apr 2024 14:18:17 +0200 Subject: [PATCH] fix(ios): add workaround for `TouchableWithoutFeedback` (#3688) --- ios/Video/RCTVideo.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ios/Video/RCTVideo.swift b/ios/Video/RCTVideo.swift index 1b4e8166..8cdd66ae 100644 --- a/ios/Video/RCTVideo.swift +++ b/ios/Video/RCTVideo.swift @@ -1533,4 +1533,8 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH self.onTextTrackDataChanged?(["subtitleTracks": subtitles.string]) } } + + // Workaround for #3418 - https://github.com/react-native-video/react-native-video/issues/3418#issuecomment-2043508862 + @objc + func setOnClick(_: Any) {} }