A React Native app for route planning and navigation, built with Expo and React Navigation.
- Map view with route directions using Google Maps
- Real-time user location with permission handling
- Bottom tab navigation with custom SVG icons
- Routing details with estimated times and addresses
- Modular component structure
driveMode/
App.js
app.json
babel.config.js
package.json
assets/
components/
reuseable/
MapViewCard.js
screens/
HomePage.js
FavoritePage.js
MessagePage.js
OptionPage.js
ProfilePage.js
styles/
styles.js
ext-assets/
drive.js
favourite.js
message.js
option.js
profile.js
img/
- Node.js & npm
- Expo CLI (
npm install -g expo-cli)
-
Clone the repository.
-
Navigate to the
driveModedirectory. -
Install dependencies:
npm install
Start the Expo development server:
npm startThen, use the Expo Go app or an emulator to run the project.
- Google Maps API keys are required for map and directions functionality.
- Set your API key in
app.jsonunder theexpo.ios.config.googleMapsApiKeyandexpo.android.config.googleMaps.apiKeyfields. - Also, update the
KEYconstant incomponents/reuseable/MapViewCard.jswith your Google Maps API key.
This project is licensed under the MIT License.