forked from react-native-admob/admob
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRNAdMob.podspec
27 lines (21 loc) · 842 Bytes
/
RNAdMob.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require "json"
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
Pod::Spec.new do |s|
s.name = "RNAdMob"
s.version = package["version"]
s.summary = package["description"]
s.homepage = package["homepage"]
s.license = package["license"]
s.authors = package["author"]
s.platforms = { :ios => "10.0" }
s.source = { :git => "https://github.com/react-native-admob/admob.git", :tag => "#{s.version}" }
s.source_files = "ios/**/*.{h,m,mm,swift}"
s.dependency "React-Core"
s.dependency 'Google-Mobile-Ads-SDK', '~> 8.0'
if defined?($RNAdMobAsStaticFramework)
Pod::UI.puts "#{s.name}: Using overridden static_framework value of '#{$RNAdMobAsStaticFramework}'"
s.static_framework = $RNAdMobAsStaticFramework
else
s.static_framework = false
end
end