/Mapme

Open Source React Native app to track wherever you go!

Primary LanguageJavaScript

Disclaimer πŸ“–

FYI, We aren’t facebook to collect your data! πŸ˜…

About πŸ“Œ

A location tracking application for mobile devices built by The Boys as Minor Project. MapMe tracks your location and give you details on the route, average speed,time and distance covered. To track just tap on 'Start Tracking' and the app will now start collecting your coordinates and starts to draw PolyLines which are used to depict a route from one place to another. You can also view your tracked history and all these details are not collected by us, it is safely stored on your personal device.

What's in here? πŸ€”

  • React Native :atom:
  • Async Storage πŸ—„οΈ
  • GoogleMaps API πŸ—ΊοΈ

How to Build the App πŸ“±

Fork the repo 🍴

Clone the repo πŸ”»

git clone <url>
  • example : git clone https://github.com/swaaz/Mapme.git

Add API key before building πŸ”‘

We can’t afford Google’s API for everyone. 😒

copy the API key and paste it inside ~Mapme/app.json

{
  "expo": {
   "name": "MapMe",
   "icon": "./assets/icons/logo.png",
   "version": "2.0.0",
   "slug": "MapMe",
   "ios": {
     "bundleIdentifier": "com.yourcompany.yourappname",
     "buildNumber": "1.0.0"
   },
   "android": {
     "package": "com.yourcompany.yourappname",
     "versionCode": 1,
        "config": {
          "googleMaps": {
              "apiKey": "" //Add the Google Map Android SDK API here
          }
      }
   }
  }
}

copy the API key and paste it inside ~Mapme/screens/HomeScreen.jsx line number 97

fetch(`https://api.openweathermap.org/data/2.5/weather?lat=${getCurrentLocation.latitude}&lon=${getCurrentLocation.longitude}&units=metric&appid=`) // Add the Weather API Key here
.then((response) => response.json())
.then((json) => setWeather({ temperature : json.main.temp, loaded : true}))
.catch((error) => console.error(error))

Install Dependencies βš›οΈ

expo install
or 
npm install

Now you're good to go! πŸ”₯

expo build

If you think you can work and contribute to it and actually make something more cool out of it? πŸ›

Then check this issue

Resources πŸ“š