From 2a1f5f5c4a0e67e000f58860d2f586b08ad9552c Mon Sep 17 00:00:00 2001 From: William Van Haevre Date: Tue, 19 Mar 2024 14:04:51 +0100 Subject: [PATCH] Unlock the theoplayer core dependency to 6.12.1 and higher --- ios/THEOplayerRCTDebug.swift | 4 ++-- react-native-theoplayer.podspec | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ios/THEOplayerRCTDebug.swift b/ios/THEOplayerRCTDebug.swift index 6e86b4a27..12d7d9d94 100644 --- a/ios/THEOplayerRCTDebug.swift +++ b/ios/THEOplayerRCTDebug.swift @@ -4,7 +4,7 @@ let DEBUG = true // Debug flag to monitor incoming Theoplayer events -let DEBUG_THEOPLAYER_EVENTS = DEBUG && false +let DEBUG_THEOPLAYER_EVENTS = DEBUG && true // Debug flag to monitor eventhandler setup and breakdown let DEBUG_EVENTHANDLER = DEBUG && false @@ -31,7 +31,7 @@ let DEBUG_CAST_API = DEBUG && false let DEBUG_PLAYER_API = DEBUG && false // Debug flag to monitor Now Playing Info updates -let DEBUG_NOWINFO = DEBUG && false +let DEBUG_NOWINFO = DEBUG && true // Debug flag to monitor Remote Commands updates let DEBUG_REMOTECOMMANDS = DEBUG && false diff --git a/react-native-theoplayer.podspec b/react-native-theoplayer.podspec index a7949639a..1e21d7690 100644 --- a/react-native-theoplayer.podspec +++ b/react-native-theoplayer.podspec @@ -41,20 +41,20 @@ Pod::Spec.new do |s| } else puts "Using THEOplayer-core SDK" - s.dependency "THEOplayerSDK-core", "6.11" + s.dependency "THEOplayerSDK-core", "~> 6.11", "!= 6.12.0" if theofeatures.include?("GOOGLE_IMA") puts "Adding THEOplayer-Integration-GoogleIMA" - s.dependency "THEOplayer-Integration-GoogleIMA/Base", "6.11" - s.dependency "THEOplayer-Integration-GoogleIMA/Dependencies", "6.11" + s.dependency "THEOplayer-Integration-GoogleIMA/Base", "~> 6.11", "!= 6.12.0" + s.dependency "THEOplayer-Integration-GoogleIMA/Dependencies", "~> 6.11", "!= 6.12.0" end if theofeatures.include?("CHROMECAST") puts "Adding THEOplayer-Integration-GoogleCast" - s.ios.dependency "THEOplayer-Integration-GoogleCast/Base", "6.11" + s.ios.dependency "THEOplayer-Integration-GoogleCast/Base", "~> 6.11", "!= 6.12.0" s.ios.dependency "google-cast-sdk-dynamic-xcframework", "~> 4.8" end if theofeatures.include?("SIDELOADED_TEXTTRACKS") puts "Adding THEOplayer-Connector-SideloadedSubtitle" - s.dependency "THEOplayer-Connector-SideloadedSubtitle", "6.11" + s.dependency "THEOplayer-Connector-SideloadedSubtitle", "~> 6.11", "!= 6.12.0" end end