Simple example using expo and react-native to show user location on a map.
- Clone the repository
$ git clone https://github.com/martincarrera/expo-location-example.git
- Open folder
$ cd expo-location-example
- Install dependencies
$ npm i
or
$ yarn
This example combines the Location API and the MapView API, to show in real time the user geolocation.
It only works on iOS simulator or real devices - It will not work on an Android simulator.