Skip to content

chsdwn/UberCloneApp

Repository files navigation

UberClone

Environment Variables

Create a .env file and add keys listed below to the file.

  • GOOGLE_MAPS_API_KEY: Enable Directions, Distance Matrix and Places APIs on Google Cloud. Create an API key and use it here.

Instruction to Run App on Simulator/Emulator

  1. Install npm dependencies by running $ yarn command.

iOS

  1. Enable Maps SDK for iOS API.
  2. Replace [YOUR_API_KEY] placeholder with your api key in AppDelegate.mm file.
  3. Install iOS dependencies by running $ npx pod-install command.
  4. Run $ yarn ios command to run the app on iPhone 14 Pro Max simulator. You can edit ios script on package.json file to run the app another iPhone model.

Android

  1. Enable Maps SDK for Android API.
  2. Replace [YOUR_API_KEY] placeholder with your api key in AndroidManifest.xml file.
  3. Run $ yarn android command to run the app on an Android emulator. (MAKE SURE YOUR DEVICE OR EMULATOR HAS GOOGLE PLAY SERVICES INSTALLED)

Video

Demo.mp4