ARTICLE AD BOX
Asked today
Viewed 18 times
I solved the issue by following these steps:
navigate to: node_modules/react-native-video/ios/Video/RCTVideoManager.swift
Replace this portion of code:
override func view() -> UIView { return RCTVideo(eventDispatcher: (RCTBridge.current().eventDispatcher() as! RCTEventDispatcher)) }with this:
override func view() -> UIView { return RCTVideo(eventDispatcher: nil) }After replacing clear all issues and clean build folder in xcode (run the code again crash & error will disappear).
after running successfully hit this cmd (npx patch-package react-native-video) it will create the patch file and error will be removed forever
Sign up to request clarification or add additional context in comments.
Explore related questions
See similar questions with these tags.
