Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gaurav-12/react-native-maps-example
React Native Maps Example
https://github.com/gaurav-12/react-native-maps-example
android android-example example-project gcp-console google-maps ios java maps react-native
Last synced: about 1 month ago
JSON representation
React Native Maps Example
- Host: GitHub
- URL: https://github.com/gaurav-12/react-native-maps-example
- Owner: gaurav-12
- Created: 2020-02-10T13:39:08.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T06:53:56.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T00:12:45.748Z (almost 2 years ago)
- Topics: android, android-example, example-project, gcp-console, google-maps, ios, java, maps, react-native
- Language: Objective-C
- Homepage:
- Size: 2.07 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Integrate React Native Maps - Example
The repository is an example integration of react native maps for both iOS and Android.## Setup
Follow the instructions below to setup the project in present directory.
### iOS
1. ``` git clone https://github.com/gaurav-12/react-native-maps-example.git ```
2. ``` cd react-native-maps-example ```
3. ``` npm install ```
4. ``` cd ios && pod install && cd .. ```
5. Next, replace ``` YOUR_API_KEY_HERE ``` with the API key obtained from GCP console in ``` AppDelegate.m ```.
6. Run ``` react-native run-ios ```, or from the iOS directory, open ``` RNMaps.xcworkspace ``` in Xcode and run from there.
### Android
Follow steps 1 to 3 from iOS and next follow these instructions:
1. Replace ``` YOUR_API_KEY_HERE ``` in ``` AndroidManifest.xml ``` with the API key obtained from GCP console.
2. And run ``` react-native run-android ``` from the terminal.