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
Kent replied 1 week ago on September 16, 2024 10:49 AM
Hello,
For example : FIREBASE_DATABASE_URL=https://.firebaseio.com/
set it like this.
Kent replied 1 week ago on September 16, 2024 5:01 AM
This credentails is for backend .env file , you have to set there.
Kent replied 1 week ago on September 16, 2024 5:00 AM
Hello,
Can you share anydesk or chrome remote.
Sdiri Houssem replied 2 weeks ago on September 14, 2024 7:52 AM
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.
kane replied 2 weeks ago on September 11, 2024 11:06 AM
Please check if your Firebase values are set correctly:
To add the Firebase JSON file:
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
Sdiri Houssem replied 2 weeks ago on September 11, 2024 10:22 AM
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
kane replied 2 weeks ago on September 11, 2024 9:16 AM
Hello, I am Kane from the support team.
Could you confirm if Firebase has been configured properly?
Thanks & regards,
Kane