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
@@ -68,6 +68,8 @@ To publish a FlutterFlow project as a library, start by creating a FlutterFlow p
68
68
:::info
69
69
- You can only publish libraries if you have access to branching, which is available to Pro+ users.
70
70
- Libraries can only be published from the main branch, and each published version is linked to a specific commit, ensuring robust version control.
71
+
- You must commit your changes before publishing a new version of the library.
72
+
- It's recommended to include a message that tells users what has changed in the version your are publishing.
71
73
:::
72
74
73
75
### Disabled Features in a Library
@@ -92,7 +94,7 @@ When a project is converted into a library, the following features are disabled
92
94
93
95
## Importing a Library
94
96
95
-
Open the FlutterFlow project where you'd like to import a library, then follow these steps:
97
+
To import a library project into another FlutterFlow project, you must go to the **Project Dependencies** page in **App Settings**. Here you can specify the library project and version you are importing.
96
98
97
99
<div style={{
98
100
position: 'relative',
@@ -101,7 +103,7 @@ Open the FlutterFlow project where you'd like to import a library, then follow t
@@ -121,7 +123,14 @@ Open the FlutterFlow project where you'd like to import a library, then follow t
121
123
<p></p>
122
124
123
125
:::info
124
-
You can only select a library if you have been added as a collaborator in that library project. To use a library, you must have one of these roles in the library project: Owner, Manager, Editor, or Read-Only.
126
+
127
+
- You can only select a library if you have at least read access on the library project.
128
+
- For a library project to show in the drop down, you must be added as a collaborator on the project and the library project must have a published version.
129
+
- You can import publicly accessible libraries by specifying the project ID in the text field when adding a library dependency.
130
+
- By default, the latest published version of the library is imported, but you can choose to depend on an earlier version if needed.
131
+
- You can also import the `current` version of the library to use the latest state of the library on the main branch - however, this is not recommended.
132
+
- You must have a paid plan to import a library.
133
+
125
134
:::
126
135
127
136
@@ -222,19 +231,19 @@ You can easily upgrade to newer versions of the libraries as they become availab
222
231
<details>
223
232
<summary>What will happen to existing team libraries?</summary>
224
233
<p>
225
-
Team code and API libraries will be migrated to Library Projects. These projects will be imported as a library with the latest version specified as the version. The components within team design systems will move into their own projects, while design systems will continue to exist but only containing the theme settings.
234
+
Team code and API libraries will be migrated to library Projects. These projects will be imported as a library with the latest version specified as the version. The components within team design systems will move into their own projects, while design systems will continue to exist but only containing the theme settings.
226
235
</p>
227
236
</details>
228
237
229
238
<details>
230
-
<summary>Will Libraries work with Marketplace?</summary>
239
+
<summary>Will libraries work with Marketplace?</summary>
231
240
<p>
232
241
We plan to allow users to import a marketplace project as a library, making it easier to integrate marketplace resources into your projects.
233
242
</p>
234
243
</details>
235
244
236
245
<details>
237
-
<summary>How do Libraries work with themes?</summary>
246
+
<summary>How do libraries work with themes?</summary>
238
247
<p>
239
248
The parent project's design system takes precedence over the imported library's design system. For example, if a library uses the standard FlutterFlow color scheme, the values defined in the parent project will override those in the library. However, if the library project has a custom color that the parent project does not have, it will be used as-is in the parent project.
240
249
</p>
@@ -243,13 +252,13 @@ The parent project's design system takes precedence over the imported library's
243
252
<details>
244
253
<summary>How are API keys shared?</summary>
245
254
<p>
246
-
We're planning to leverage environment variables, as part of the Development Environment features, to allow users to add their API keys to their own projects. This ensures that the API key is not shared when the project is published as a library.
255
+
We're working on Library Values, which will allow users to set specific values when they import a library. This feature will be available soon.
247
256
</p>
248
257
</details>
249
258
250
259
<details>
251
260
<summary>How does nested dependencies work?</summary>
252
261
<p>
253
-
Projects can import Libraries that themselves have imported other Libraries as dependencies. However, if the project and the Library share the same dependency, the version must match exactly to avoid conflicts.
262
+
Projects can import libraries that themselves have imported other Libraries as dependencies. However, if the project and the library share the same dependency, the version must match exactly to avoid conflicts.
0 commit comments