Cross-platform app that displays the phone's current GPS position.
- Init Project
- Init Google Maps
- Display location
- Get user's current location
- Track user's location
- Send location to server
- Handle errors on sending location to server
- react-native-maps
- react-native-permissions
- react-native-community/geolocation
- react-native-device-info
- axios
- moment
To setup the development environment, please follow the guide here.
git clone https://github.com/Amine-ounn/ASEGP2
npm install
At the root of your project, navigate to ios folder and install pods
cd ios && pod install
Note: these commands may be different depending on your setup, if you are experiencing issue please follow the react-native guide you used while setting up your environment.
iOS
npm run ios
Android
npm run android