diff --git a/ios/Video/Features/RCTPlayerOperations.swift b/ios/Video/Features/RCTPlayerOperations.swift index 27d085c9..cd0ddfec 100644 --- a/ios/Video/Features/RCTPlayerOperations.swift +++ b/ios/Video/Features/RCTPlayerOperations.swift @@ -178,7 +178,7 @@ enum RCTPlayerOperations { return Promise(on: .global()) { fulfill, reject in guard CMTimeCompare(current, cmSeekTime) != 0 else { - reject(NSError()) + reject(NSError(domain: "", code: 0, userInfo: nil)) return } if !paused { player.pause() }