Loading Spinner in Run Mode
A persistent loading spinner in FlutterFlow's Run Mode usually indicates an issue with your Firestore rules configuration. Updating your rules can resolve this issue.
Prerequisites
- You have already connected your FlutterFlow project to Firebase.
- You have access to your Firebase Console.
Here are the steps to fix this error:
-
Copy Firestore Rules from FlutterFlow
- Open your project.
- Navigate to Firestore → Settings.
- Click the Copy icon to copy the default Firestore rules.
-
Paste the Rules in Firebase Console
- Open the Firebase Console.
- Select your project and go to Firestore Database.
- Open the Rules tab.
- Paste the copied rules into the editor and click Publish.
-
Retest Your Project in FlutterFlow
Return to FlutterFlow and run your project again in Run Mode. The loading spinner should no longer appear if the Firestore rules were configured correctly.
tip
Always keep your Firestore rules up to date after making structural changes to your database in FlutterFlow.