It is a proof of concept regarding mobile development. The goal is to manipulate GEOJson data and activities in the background.
For the map presentation I used Mapbox SDK. I used shapes with the positions of some countries and their relative flags. To perform the background activities every 3 minutes I used React Native Background Timer library, in calls it keeps the current position of the device in a storage location for record simulation.
- Javascript - Programming language.
- React Native - React Native is a Javascript library created by Facebook.
-
Mapbox - Mapbox is an American provider of personalized online maps for websites and apps like Foursquare, Lonely Planet, Facebook, Financial Times, The Weather Channel and Snapchat.
-
React Native Background Timer - Emit event periodically (even when app is in the background).
In order to run this project locally you will need to:
- Clone and install this repository
git clone https://github.com/autimio/flagsmap
- Install: Yarn install is used to install all dependencies for a project.
yarn install
- Run the app
- IOS
yarn ios
- Android
yarn android