Created
May 31, 2017 11:26
-
-
Save anhtuank7c/fce824aeffdd1b18a71276188917f437 to your computer and use it in GitHub Desktop.
Cài đặt react-native-maps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://github.com/CocoaPods/Specs.git' | |
platform :ios, '8.0' | |
target 'demo' do | |
# Fixes required for pod specs to work with rn 0.42 | |
react_native_path = "../node_modules/react-native" | |
pod "Yoga", :path => "#{react_native_path}/ReactCommon/yoga" | |
pod "React", :path => react_native_path | |
pod 'GoogleMaps' # <~~ remove this line if you do not want to support GoogleMaps on iOS | |
end |
Go to Google Console dashboard then create a project,
Press enable Google Maps SDK for iOS
, then create a key
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Edit
AppDelegate.m