/expo-location-example

Simple example using expo and react-native to show user location on a map

Primary LanguageJavaScript

expo-location-example

Simple example using expo and react-native to show user location on a map.

Pre requisites

Steps to run it

  1. Clone the repository
$ git clone https://github.com/martincarrera/expo-location-example.git
  1. Open folder
$ cd expo-location-example
  1. 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.

iOS driving gif