#
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 2 weeks 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
Rider application... 4 days ago on September 24, 2024 12:00 PM Pricing Table is not work... 5 days ago on September 23, 2024 12:05 PM The current Dart SDK vers... 1 week ago on September 20, 2024 9:51 AM The new update didn't wor... 1 week ago on September 19, 2024 10:56 PM the map does not appear... 1 week ago on September 19, 2024 4:21 AM Rider trip recursion issu... 1 week ago on September 17, 2024 5:46 PM rider app is looping afte... 2 weeks ago on September 11, 2024 7:52 AM otp problem with Firebase... 2 weeks ago on September 8, 2024 11:54 AM Budget for a modify in ap... 3 weeks ago on September 3, 2024 3:12 AM error in new code... 4 weeks ago on August 31, 2024 11:30 AM