Skip to content
/ Mapme Public

Open Source React Native app to track wherever you go!

Notifications You must be signed in to change notification settings

swaaz/Mapme

Repository files navigation

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 📚