Fleet MultiBranch
About CompanyOther ProductsServicesReview UsContactBUY NOW
  • πŸ‘‹Product Documentation
  • Overview
    • πŸ’‘What we do
    • 🏎️About Product
    • ✨Product Features
  • Fundamentals
    • πŸ”©App Prerequisites
    • πŸ› οΈGetting Setup
  • πŸ“‚Explore Features
    • πŸ“ŠDashboard
    • 🚘Bookings
      • βž•Add New Booking
      • πŸ“„Booking List
        • πŸ›£οΈView Booking Details
        • πŸ“Edit Booking Details
      • πŸ’³Transactions
        • πŸ’°View Transaction Details
      • πŸ’ΈDriver Payment Report
        • πŸ”–Add Driver Payment
    • πŸ‘¨β€βœˆοΈDrivers
      • 🏁Drivers List
        • πŸ“‹View Driver Details
        • πŸ“Edit Driver Details
      • βž•Add Driver
    • πŸš–Vehicles
      • πŸš™Vehicle List
        • πŸ“‹View Vehicle Details
        • πŸ“Edit Vehicle Details
      • βž•Add Vehicle
    • πŸ’°Income
      • πŸ—³οΈIncome List
        • πŸ“‹View Income Details
        • πŸ“Edit Income Details
      • βž•Add Income
    • πŸ’ΈExpense
      • πŸ“‰Expense List
        • πŸ“‹View Expense Details
        • πŸ“Edit Expense Details
      • βž•Add Expense
    • πŸ›’οΈFuel
      • πŸ†™Fuel List
        • πŸ“‹View Fuel Details
        • πŸ“Edit Fuel Details
      • βž•Add Fuel
    • ⏲️Service Reminders
      • πŸ“†Reminders List
        • πŸ“‹View Service Reminder Details
        • πŸ“Edit Service Reminder
      • βž•Add Service Reminder
    • πŸ§‘My Profile
      • πŸ‘₯Edit Profile
  • πŸ—“οΈBooking Calendar
  • πŸ””Notifications
  • πŸ“’Help & Support
    • πŸ‘©β€πŸ’»Support Desk
    • πŸ—„οΈChangelog
Powered by GitBook
On this page
  • Complete 🎯
  • ⚑⚑Enjoy its powerful features & functionalities.⚑⚑

Was this helpful?

  1. Fundamentals

Getting Setup

Step by Step Guide to Setup the Project in Android Studio.

PreviousApp PrerequisitesNextDashboard

Last updated 1 year ago

Was this helpful?

Step1: Creating your Google Developers Account (Paid) [Pre-Requisites]

You can create a google developers Account from below URL.

To Learn How to Register Check below Link.

Step 2: Updating Package Name

Before creating project in Firebase console, you first need to update the Package Name β€œcom.hyvikk.thefleet.vendors”.

It is Required to Change else you want be able to Publish Fleet MultiBranch App to Playstore.

To know how to Update it check Below link.

Note: if you want to publish your app to Google Playstore, you must update the package name. Google Playstore won’t accept Apps with same package name.

Step 3: Adding Firebase to Project/App.

To do this Just Follow Steps as mentioned in Below Webpage.

Notes:

a. You must be logged in to the Respective gmail account through which you have created Google Developers Account.

b. Replace the old β€œgoogle-services.json” with the file Automatically created in Firebase Console while Creating Project.

c. You don’t need to add "firebase sdk" as it is already there within the project. Just skip that step and Go to Next Step.

Step 4: Connecting To Firebase β€œRealtime Database”.

Important Note : You Must have Purchased & Configured

  • Open Firebase Project which has been created for β€œFleet Manager Android App” from

  • Select Database > Realtime Database and Complete the Steps.

  • Copy Database URL from the β€œData” tab [As Shown in Below Image].

    • E.g.

Step 5: Updating BASE URL for APIs (APIClient.java) from Project Code.
  • Find this file at below mentioned path from the Project Code.

    • β€œ FleetVendors/app/src/main/java/com/hyvikk/thefleet/vendors/API/APIClient.java ”

  • Find Vendor API Module from your β€œFleet Manager Web Admin” Setup.

  • Set Vendor API URL in "BASE_URL".

Step 6: Updating ABOUT Screen URLs (strings.xml) from Project Code.

To Update Company Page URLs Like Terms & Conditions and Privacy Policy.

Find this file at below mentioned path from the Project Code.

β€œFleetVendors/app/src/main/res/values/strings.xml”

  • TC_URL : This String is used to Add Terms & Conditions Page Link in Mobile App.

    • It is Recommended to set it for the Consumer’s Point of view. Write Terms & Conditions as per your Company policy and Create a Webpage for it. After that Set that URL in β€œTC_URL”.

  • PRIVACYPOLICY_URL : This String is used to Add Privacy Policy Page Link in Mobile App.

    • It is recommended to set it for the Consumer’s Point of view. Write Privacy Policy Terms as per your Company policy and Create a Webpage for it. After that Set that URL in β€œPRIVACYPOLICY_URL”.

  • FACEBOOK_URL : Facebook Page URL of your App/Company.

  • TWITTER_URL : Twitter Page URL of your App/Company.

  • INSTAGRAM_URL : Instagram Page URL of your App/Company.

Step 7: Creating Google API key for the App.

To Create API Key for your App Project Follow Steps Mentioned in Below URL.

Step 8: Enabling APIS for the Project [Required].

APIS will help you run "Fleet MultiBranch App" Properly. It is Mandatory to Enable it from Google > API Library.

To Enable APIs; Follow Below Mentioned Steps.

  • From the Projects list, select β€œFleet MultiBranch App” project or create a new one.

  • Open "APIs & services" Page from the Navigation Menu[Left Side].

  • Click on "Library", To Open Complete "API Library" Collection.

  • Search for Below Mentioned APIs Using "Search Box" and Enable it.

    • Places API

    • Identity Toolkit API

    • Maps SDK for Android

  • DONE ! You have ENABLED Required APIs.πŸŽ‰

Step 9: Enabling Billing for the Project APIs on Google Developers Console

To Increase the APIs Usage Limit, you must add billing Account for your Project.

Follow Steps mentioned in below URL to Enable Billing.

Google has Free Usage Limits for "Places & Maps Related APIs". To Smoothly Run the App; It is Required to Add/Enable Billing for the "Fleet Vendors App" Project on Google Developers Console.

Step 10: Updating Firebase Realtime Database & Access Keys (strings.xml) From Project Code.
  • Find this file at below mentioned path from Project Code.

    • β€œ FleetVendors/app/src/main/res/values/strings.xml ”

  • Update Values of Below Mentioned Variables.

      1. Copy "Database URL" As Mentioned in STEP 4.

      2. You can Find it from "Realtime Database > Data Tab".

      3. Set the Copied URL.

      1. Find β€œApplication_id / Project ID” from "Firebase Project > Project Settings > General Tab".

      2. Copy "Application id".

      3. Set it in Above Variable.

      1. Find the β€œAPI Key / Web API Key” from "Firebase Project > Project Settings > General Tab".

      2. Copy "API Key".

      3. Set it in Above Variable.

Step 11: Updating Google Maps API key (google_maps_api.xml) from Project Code.[Important]

Google Maps API Key will be Used for "Google Place Search" in "Add Booking" Feature.

  • Find this file at below mentioned path from Project Code.

    • β€œ FleetVendors/app/src/main/res/values/google_maps_api.xml ”

  • Copy the β€œAPI-KEY” that you have generated in Step-7.

  • About Variables.

    • google_maps_key : To Search Place OR Location for Pickup & Dropoff Addresses in β€œAdd Booking Feature” of β€œFleet MultiBranch App”.

  • Set Copied "API-KEY" in Above Variable.

Complete 🎯

You have successfully Configured Google Firebase and Google Developers Console for β€œFleet MultiBranch App”.

Now, Your β€œFleet MultiBranch App” is fully prepared to shine! ✨

⚑⚑Enjoy its powerful features & functionalities.⚑⚑

This will Connect your App To "".

Go to the .

Firebase Realtime Database will be used to Access Driver's Location Data of .

firebase_database_url : This URL is used to Connect and Access Driver's Location Data for Tracking Feature. The Location's data which will be Accessed are of Driver Users from .

firebase_application_id : To Connect App with Firebase Project of .

firebase_api_key : To Connect & Access Database of from Fleet Vendors App.

πŸ› οΈ
Fleet Manager Web Admin
https://support.google.com/googleapi/answer/6158862?hl=en
API Console
https://support.google.com/googleapi/answer/6158867?hl=en&ref_topic=7013279
"Fleet Manager App"
"Fleet Manager App"
Fleet Manager Mobile App
Fleet Manager Mobile App
https://play.google.com/apps/publish/signup/
https://support.google.com/googleplay/android-developer/answer/6112435?hl=en
https://stackoverflow.com/questions/16804093/rename-package-in-android-studio
https://www.geeksforgeeks.org/adding-firebase-to-android-app/
Fleet Manager Android App
https://console.firebase.google.com
https://abc-hyvikk-215511.firebaseio.com/
Firebase Realtime Database