fix: disable Google IMA by default on ios. now shall be enabled in project podfile

This commit is contained in:
olivier
2023-03-12 23:29:03 +01:00
parent edf7eee287
commit 4aca30d308
5 changed files with 46 additions and 11 deletions

View File

@@ -19,8 +19,15 @@ Pod::Spec.new do |s|
ss.source_files = "ios/Video/**/*.{h,m,swift}"
ss.dependency "PromisesSwift"
ss.ios.dependency 'GoogleAds-IMA-iOS-SDK', '~> 3.18.1'
ss.tvos.dependency 'GoogleAds-IMA-tvOS-SDK', '~> 4.2'
if defined?($RNVideoUseGoogleIMA)
Pod::UI.puts "RNVideo: enable IMA SDK"
ss.ios.dependency 'GoogleAds-IMA-iOS-SDK', '~> 3.18.1'
ss.tvos.dependency 'GoogleAds-IMA-tvOS-SDK', '~> 4.2'
ss.pod_target_xcconfig = {
'OTHER_SWIFT_FLAGS' => '$(inherited) -D USE_GOOGLE_IMA'
}
end
end
s.subspec "VideoCaching" do |ss|