add log warning that either onInitReady or onVideoChunkReady are not valid
- however I am not seeing the log when running from yarn
This commit is contained in:
parent
91767e71c8
commit
694d9cfa8c
@ -342,6 +342,7 @@ public final class CameraView: UIView, CameraSessionDelegate {
|
|||||||
ReactLogger.log(level: .info, message: "Chunk ready: \(chunk)")
|
ReactLogger.log(level: .info, message: "Chunk ready: \(chunk)")
|
||||||
|
|
||||||
guard let onVideoChunkReady, let onInitReady else {
|
guard let onVideoChunkReady, let onInitReady else {
|
||||||
|
ReactLogger.log(level: .warning, message: "Either onInitReady or onVideoChunkReady are not valid!")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user