You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/resources/projects/libraries.md
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,7 +85,6 @@ To publish a FlutterFlow project as a library, start by creating a FlutterFlow p
85
85
When a project is converted into a library, the following features are disabled to ensure compatibility and functionality limitations:
86
86
87
87
- App settings
88
-
- Firebase
89
88
- Supabase
90
89
- Development environments
91
90
- Authentication
@@ -98,8 +97,6 @@ When a project is converted into a library, the following features are disabled
98
97
- Google Analytics
99
98
- OneSignal
100
99
- Mux
101
-
- Cloud functions
102
-
- Firestore Collections
103
100
104
101
## Importing a Library
105
102
@@ -318,6 +315,24 @@ To set library values, navigate to **Settings and Integrations > Project Setup >
318
315
For different [**development environments**](../../testing-deployment-publishing/development-environments/development-environments.md) (e.g., development vs. production), you can bind Library Values to [**environment values**](../../testing-deployment-publishing/development-environments/development-environments.md#use-environment-values). For instance, you could have two different Library Values for an API key, such as `DEV_OPENAI_API_KEY` and `PROD_OPENAI_API_KEY`, and bind them to the development and production environments to track API usage separately.
319
316
:::
320
317
318
+
## Libraries with Firebase
319
+
You can create collections and enable various Firebase features in library projects without connecting a separate Firebase project.
320
+
321
+
In library projects, you won’t see an option to link to a Firebase project. Instead, the project that imports the library handles the actual Firebase connection.
322
+
323
+
Any indexes or security rules defined in the library are recognized by the importing project and deployed accordingly.
324
+
325
+
:::warning[Limitations]
326
+
Libraries work with Firebase but have **some limitations**. The **Firebase Auth** and **Firebase Storage** are not directly supported in library projects at this time. If you need these features in your library’s functionality, you can include an action that accomplishes this task as a [**callback**](../../resources/ui/components/callbacks.md).
327
+
:::
328
+
329
+
If your team has multiple projects that share a common Firebase feature, turning it into a library is a great idea. This ensures the same logic is used and connects to the same Firestore project across all apps.
330
+
331
+
Here are some examples of library projects you can build with Firebase:
332
+
333
+
-**Basic Analytics or Tracking**: A library that logs events to Firestore; useful for aggregating usage data at an application level.
334
+
-**Configuration or Settings**: A library that serves app-wide configurations (like feature flags, UI themes, or layout choices) is handled in Firebase Remote Config.
0 commit comments