Flutter App Setup (Android)

Getting started

Step 1: Open the App Folder from extracted zip file

Step 2: You can find the main project folder, open the folder in the Android Studio

Make sure You have installed flutter SDK properly

Step 3: Once the project opened, open the pubspec.yaml file and click on the pug get in the top right corner or go to the terminal and cd into the project folder then run this command

flutter pub get

This will install all the dependencies

Setting Maps API Key

Step 1: From the project, root go to android->app->main-> AndroidManifest.xml file

Step 2: In the AndroidManifest.xml file scroll down and paste the google maps API keys

Step 3: Go to lib->utils->app_constants.dart and paste the map's key in mapsKey const

Firebase Setup

Step 1: Open Firebase Console and click on your project

Step 2: Once the project dashboard opens, click on the flutter icon.

Step 3: In this step just install the Firebase CLI and login to the CLI with your account and click next.

Make sure your Firebase CLI is working well and added to the system environment variable by opening in command prompt and firebase --version.

Step 4: You can skip the 3rd step as we already configured everything for you. So click on continue.

Changing Base URL

Step 1: Open lib->api->api_routes.dart file.

Step 2: Then replace the BaseURL value with your server IP (where your backend API project is running)

Don’t change the port only update the IP address

Step 3: Then connect your Android device or open an emulator and run the Project that’s all you are good to go.

IOS app is in beta stage so you may encounter issues. We are working on it to make it stable in the coming days

Last updated