FlutterFlow Docs
Search…
Collections & Indexes

Firestore records are not being created when I do a backend call.

Here are some common issues to check for:
  1. 1.
    Ensure you have added the following cloud permissions for [email protected]: Editor, Cloud Functions Admin, and Service Account User. Here are instructions on how to do this.
  2. 2.
    Update your Firebase rules. Here are instructions on how to do this.
  3. 3.
    Ensure you are on the latest version of FlutterFlow by selecting (ctrl/cmd + R). After you have done this, clear your browser cache and log out/in to FlutterFlow.
  4. 4.
    If you have already completed Firebase setup, remove the existing permissions and complete a new setup from scratch. Here are instructions on how to do this.

I get an error when trying to deploy Firestore indexes: Failed to create Server directory.

Here are some common issues to check for:
  1. 1.
    Ensure you have email sign-in enabled. Here are instructions on how to do this.
  2. 2.
    Ensure you have added the following cloud permissions for [email protected]: Editor, Cloud Functions Admin, and Service Account User. Here are instructions on how to do this.
  3. 3.
    Update your Firebase rules. Here are instructions on how to do this.
  4. 4.
    Ensure you are on the latest version of FlutterFlow by selecting (ctrl/cmd + R). After you have done this, clear your browser cache and log out/in to FlutterFlow.
  5. 5.
    If you have already completed Firebase setup, remove the existing permissions and complete a new setup from scratch. Here are instructions on how to do this.

How do I add a Map structure in FlutterFlow?

Currently, the Map structure is not supported in FlutterFlow. It's on our roadmap and will be added at some time in the future.

How do I get the user's current location?

Here are the series of steps that you can follow to get the user's current location:
  • Create a LatLng field in your Firestore Schema.
  • After this, you just need to set this field from a variable source and select Current Location from the Global Properties.
That's it! This button will get the current location for the user and save it to firestore. You can also use this current location wherever Global Properties are compatible.
Last modified 1mo ago