mirror of
https://github.com/zhigang1992/examples.git
synced 2026-01-12 22:47:03 +08:00
Maps Example
🚀 How to use
- Install packages with
yarnornpm install. - Run
yarn startornpm startto start the bundler. - Open the project in a React runtime to try it:
- iOS: Client iOS
- Android: Client Android
Adding Native Code
This project can be run from Expo client app. You may find that you want to add more native code later on. You can do this by ejecting the project and rebuilding it yourself.
- Run
yarn ejectto create the native projects. - You can still run your project on Expo client, you just won't be able to access any new native modules you add.
Publishing
- Configure your app to be able to use react-native-maps in production using this guide : MapView configuration
- Deploy the native app to the App store and Play store using this guide: Deployment.
📝 Notes
- Learn more about MapView.
- Learn more about react-native-maps.