fix native playback cocoa pods build

This commit is contained in:
dirtydishes 2026-05-25 00:24:13 -04:00
parent 6e220e6df9
commit 511224bcd4
9 changed files with 386 additions and 5 deletions

View file

@ -5,6 +5,14 @@ import MobileVLCKit
#endif
final class VLCNativePlaybackBackend: NSObject, NativePlaybackBackend {
static var isAvailable: Bool {
#if canImport(MobileVLCKit)
true
#else
false
#endif
}
let view = UIView()
var onReady: (() -> Void)?
var onFailure: ((Error) -> Void)?