Documentation by "Mahmoud Lotfy"

Pin Taxi Flutter

Created: 17 nov 2022
Author: Mahmoud Lotfy - Egypt
Contact: CodeCanyon Profile

Thank you for purchasing the app. If you have any questions that are beyond the scope of this help file, please feel free to message me via my user page contact form here. Thanks so much!

Table of Contents

  • Download Flutter sdk and Android Studio?
  • How to open the project in Android Studio?
  • How to change project details?
  • How to change Firebase Credentials for Phone Authentication?
  • How to change Google Map Api keys?

  • Download and setup android studio

    Latest Android Studio version is recommended, which can be downloaded from here:
    http://developer.android.com/intl/es/sdk/index.html



    Download and setup flutter sdk

    Latest Android Studio version is recommended, which can be downloaded from here:
    https://docs.flutter.dev/development/tools/sdk/releases


    How to open the project in Android Studio?

    1. Open Android Studio > Open an Existing Android Studio Project > Select Your Project build.gradle file > ok
    2. Select Project




    How to change the Base url ?

    How to change the map api key?

    How to change stripe key?

    You can change it easily from Android Studio. Here are the steps:


    Note: When renaming com in Android Studio, it might give a warning. In such case, selectRename All.










    How to change Firebase Credentials for Phone Authentication?

    You can change it easily . Here are the steps:

    1. Login in Firebase , create the project with required name.
    2. After creating project , you have to select "Android" then you have to add App Credentials
    3. Add "App package name" , "App name" & debug SHA-1 key
    4. After adding all above information , you have to download "google-service.json" file by clicking on "Download Google Serfice file:
    5. Copy/paste the downloaded file into root folder of project , it's path would be project name > app

    6. Note: When you publish the app to playstore , you must have to submit publishing apk "SHA-1" & "SHA-2" keys in Firebase After publishing , go to Release Management by selecting specific app then click "App Signing" option. You would have to copy "SHA-1" , "SHA-2" keys from the "App Signing Certificate".

      Go to Firebase and open project settings , you have to select "General" tab.Now you can add these keys by clicking Add Fingerprint button. Check out the last screenshots , it would clear everything












    Go to Firebase and select Authentication , you have to select "Sign In Method" tab.Now you have select Phone button and press enable button. Check out the last screenshots , it would clear everything



    Note : You have to follow below 2 screenshots after the publishing of app at playstore.



    How to get Google Map Api key?

    1. Go to Google Cloud Console and Create a project
    2. Select APIs & Services and Select Library to enable Google Place Services
    3. Then,Select Credentials from APIs & Services
    4. Create APIs key and copy it and paste in the place inside code