FYI, We aren’t facebook to collect your data!
😅
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.
- React Native
- Async Storage 🗄️
- GoogleMaps API 🗺️
git clone <url>
- example :
git clone https://github.com/swaaz/Mapme.git
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
}
}
}
}
}
Open Weather API
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))
expo install
or
npm install
expo build
Then check this issue