Skip to content

Commit

Permalink
fix(ios): missing dollar signs in podspec version override (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylancom authored Dec 3, 2021
1 parent eb1a258 commit 5984288
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RNGoogleAds.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ Pod::Spec.new do |s|
# Other dependencies
s.dependency 'PersonalizedAdConsent', '~> 1.0.5'

if defined?(RNGoogleAdsSDKVersion)
Pod::UI.puts "#{s.name}: Using user specified Google Mobile-Ads SDK version '#{RNGoogleAdsSDKVersion}'"
if defined?($RNGoogleAdsSDKVersion)
Pod::UI.puts "#{s.name}: Using user specified Google Mobile-Ads SDK version '#{$RNGoogleAdsSDKVersion}'"
google_ads_sdk_version = $RNGoogleAdsSDKVersion
end

# AdMob dependencies
s.dependency 'Google-Mobile-Ads-SDK', google_ads_sdk_version

if defined?(RNGoogleAdsAsStaticFramework)
if defined?($RNGoogleAdsAsStaticFramework)
Pod::UI.puts "#{s.name}: Using overridden static_framework value of '#{$RNGoogleAdsAsStaticFramework}'"
s.static_framework = $RNGoogleAdsAsStaticFramework
else
Expand Down

0 comments on commit 5984288

Please sign in to comment.