View gist:e688d2c296f1bc532e609da761828717
<application> | |
<!-- You will only need to add this meta-data tag, but make sure it's a child of application --> | |
<meta-data | |
android:name="com.google.android.geo.API_KEY" | |
android:value="YOUR GOOGLE MAPS API KEY HERE"/> | |
</application> |
View gist:5ecb533a3a09f5bd6c77b625019ed261
dependencies { | |
... | |
// Paste these line | |
compile(project(':react-native-maps')){ | |
exclude group: 'com.google.android.gms', module: 'play-services-base' | |
exclude group: 'com.google.android.gms', module: 'play-services-maps' | |
} | |
compile 'com.google.android.gms:play-services-base:10.0.1' | |
compile 'com.google.android.gms:play-services-maps:10.0.1' | |
} |
View gist:7ff92460e1d11dfa73fbe82186ea491a
/** | |
* Copyright (c) 2015-present, Facebook, Inc. | |
* All rights reserved. | |
* | |
* This source code is licensed under the BSD-style license found in the | |
* LICENSE file in the root directory of this source tree. An additional grant | |
* of patent rights can be found in the PATENTS file in the same directory. | |
*/ | |
#import "AppDelegate.h" |
View gist:022fed9cd55b41e038f42a9f1b261972
open googleMapsAirbnb.xcworkspace | |
open . |
View gist:bcabf9cb046aafee10680ddc2a0edc9d
pod install |
View gist:5b3427ffda1860144008e96f8734b634
cd ios | |
pod init |
View gist:d9aae554776e9d45394d61958df07c2c
sudo gem install cocoapods |
View gist:e557a60553d36abd38427f86ea687c30
react-native link react-native-maps |
View gist:e2c49f6b47c66f77f9ad05cdab61c10b
npm install --save react-native-maps |
View gist:a9dd5e4746c8e6eaeaeb1c2564211377
react-native init googleMapsAirbnb | |
cd googleMapsAirbnb |
NewerOlder