skip to Main Content

I am working on connecting my new Flutter project with Firebase. I have successfully executed the ‘firebase login’ and ‘dart pub global activate flutterfire_cli’ commands. However, I am facing an issue while running the ‘flutterfire configure’ command. It keeps showing a timeout exception every time I try to run it. I need some help to resolve this error.

This is what it shows after running flutterfire configure

TimeoutException after 0:00:15.000000: Future not completed

I have already tried firebase logout, firebase login to relogin and also tried firebase login --reauth commands as well. And also a deferent internet connection too.

Furthermore, this is not my first flutter app to try Firebase. I already had two Flutter projects connected to Firebase (I have deleted one to confirm that there is no limitation issue), and broth worked really well. This is my third app to try.

2

Answers


  1. Go to your firebase project, then after click your firestore database, then after tap on rule tab and change date and time to access this database data.

          allow read, write: if request.time < timestamp.date(2024, 1, 25); // change this date according to your need.
    
    Login or Signup to reply.
  2. If retrieving the list of projects is failing, you can try passing the project ID on the command line with:

    flutterfire configure --project <your project id>
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search