#
rider app is looping after choosing destination

For clarification I didn't customize the code, I didn't change anything only configuration in the documentation. The issue is after choosing destination and service the app loops between DashboardScreen and NewEstimateRideListWidget, it goes forth and back between the 2 screens in loop until it throws an exception of too many requests. it doesn't allow the user to choose a driver, it doesn't reach that step, so the driver never has a request but in the admin panel there is a ride request with the rider and the driver. by the way I am using 1 driver and 1 rider to test the app. thank you

Asked 9 months ago on September 11, 2024 7:52 AM Comments 8 times


  1. Generic placeholder image

    Kent replied

    Hello,

     

    For example : FIREBASE_DATABASE_URL=https://.firebaseio.com/

     

    set it like this. 

  2. Generic placeholder image

    Kent replied

    1. FIREBASE_CREDENTIALS = "Your Firebase JSON file (filename.json)"
    2. FIREBASE_DATABASE_URL = "Your Firebase database URL"

     

    This credentails is for backend .env file , you have to set there.

  3. Generic placeholder image

    Kent replied

    Hello,

     

    Can you share anydesk  or chrome remote.

  4. Generic placeholder image

    Sdiri Houssem replied

    Hello kane,

    if you mean by FIREBASE_CREDENTIALS and FIREBASE_DATABASE_URL the data in firebase_options.dart file then yes it is correctly set. if it is ok with you I want to share logs and screenshots an records with mediafire.

    here you find logs screenshots and records . I really appreciate your help and I hope this gets solved very soon.

  5. Generic placeholder image

    kane replied

    Please check if your Firebase values are set correctly:

    1. FIREBASE_CREDENTIALS = "Your Firebase JSON file (filename.json)"
    2. FIREBASE_DATABASE_URL = "Your Firebase database URL"

    To add the Firebase JSON file:

    1. Download it from Firebase by going to:
      Project Settings -> Service Accounts -> Generate New Private Key (add this downloaded file to your backend code).

    For more information, you can refer to the documentation:
    Documentation check

    Additionally, for sharing different types of data, you can use the following platforms:

    Best regards,
    Kane

  6. Generic placeholder image

    Sdiri Houssem replied

    Thank you Kane for your relply,

    1. Firebase is properly configured

    2. Firestore is enabled

    3. there is no ride collection in Firestore althogh there is a users collection.

    I tried to attach the logs as a text file because it is too long but it said that the file type is not allowed it only allow image files, so I attached a screenshot from firestore. I wanted to share a screenshot from admin panel and a screen record for the app but I couldn't add them here.

    ATTACHED FILES

  7. Generic placeholder image

    kane replied

    Hello, I am Kane from the support team.

    Could you confirm if Firebase has been configured properly?

    1. Ensure that Firebase Firestore is enabled.
    2. Verify if there is a "rides" collection and if it is storing ride data.
    3. Please share the logs so I can assist you further.

    Thanks & regards,
    Kane

Recent Tickets
river is not receiving ri... 5 months ago on January 29, 2025 9:03 AM Documentation outdated... 6 days ago on June 25, 2025 10:46 AM error starting 4 weeks ago on June 2, 2025 6:20 AM hi there 1 month ago on May 29, 2025 4:48 PM Class Schedule 1 month ago on May 29, 2025 10:35 AM First time installation... 1 month ago on May 18, 2025 10:09 AM App is showing blank afte... 1 month ago on May 8, 2025 2:57 PM The app Issue 2 months ago on April 30, 2025 6:44 PM Unable to setup back end ... 3 months ago on March 27, 2025 3:48 AM Friend Request and Distan... 3 months ago on March 18, 2025 4:11 AM