mirror of
https://github.com/expo/react-native-maps.git
synced 2026-11-15 09:18:08 -10:00
23 lines
837 B
Ruby
23 lines
837 B
Ruby
require 'json'
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = "react-native-google-maps"
|
|
s.version = package['version']
|
|
s.summary = "React Native Mapview component for iOS + Android"
|
|
|
|
s.authors = { "intelligibabble" => "[email protected]" }
|
|
s.homepage = "https://github.com/react-native-community/react-native-maps#readme"
|
|
s.license = "MIT"
|
|
s.platform = :ios, "8.0"
|
|
|
|
s.source = { :git => "https://github.com/react-native-community/react-native-maps.git" }
|
|
s.source_files = "lib/ios/AirGoogleMaps/**/*.{h,m}"
|
|
s.compiler_flags = '-DHAVE_GOOGLE_MAPS=1', '-DHAVE_GOOGLE_MAPS_UTILS=1', '-fno-modules'
|
|
|
|
s.dependency 'React'
|
|
s.dependency 'GoogleMaps', '3.2.0'
|
|
s.dependency 'Google-Maps-iOS-Utils', '2.1.0'
|
|
end
|