Skip to content

Commit 4953d88

Browse files
benitavkobiebotha
andauthored
Flutterflow guide v3 - using the new library (#102)
* v1 of new guide * Polish * More polish * Add blurb * Wording improvement * Blurb * Update integration-guides/flutterflow-+-powersync.mdx Co-authored-by: Kobie Botha <kobie@journeyapps.com> * Update integration-guides/flutterflow-+-powersync.mdx Co-authored-by: Kobie Botha <kobie@journeyapps.com> * PR feedback * lowercase * Update integration-guides/flutterflow-+-powersync.mdx * Update integration-guides/flutterflow-+-powersync.mdx * Fix broken link * Sync rules flow improvements * Add snippet about pending marketplace listing --------- Co-authored-by: Kobie Botha <kobie@journeyapps.com>
1 parent ffab1e6 commit 4953d88

21 files changed

+1110
-515
lines changed
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

integration-guides/flutterflow-+-powersync.mdx

Lines changed: 432 additions & 503 deletions
Large diffs are not rendered by default.

integration-guides/flutterflow-+-powersync/powersync-+-flutterflow-legacy.mdx

Lines changed: 668 additions & 0 deletions
Large diffs are not rendered by default.

integration-guides/supabase-+-powersync.mdx

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,13 @@ create publication powersync for table public.lists, public.todos;
122122

123123
[Sync Rules](/usage/sync-rules) allow developers to control which data gets synced to which user devices using a SQL-like syntax in a YAML file. For the demo app, we're going to specify that each user can only see their own to-do lists and list items.
124124

125-
1\. To update your sync rules, open the `sync-rules.yaml` file.
125+
1. To update your sync rules, open the `sync-rules.yaml` file.
126126

127127
<Frame>
128128
<img src="/images/integration-5.png" />
129129
</Frame>
130130

131-
1. Replace the `sync-rules.yaml` file's contents with the below:
131+
2. Replace the `sync-rules.yaml` file's contents with the below:
132132

133133
```yaml
134134
bucket_definitions:
@@ -140,16 +140,14 @@ bucket_definitions:
140140
- select * from todos where list_id = bucket.list_id
141141
```
142142
143-
1. In the top right, click **"Validate sync rules"** and ensure there are no errors. This validates your sync rules against your Postgres database.
144-
2. In the top right, click **"Deploy sync rules"** and select your Instance
145-
<Frame>
146-
<img src="/images/integration-6.png" width="60%"/>
147-
</Frame>
148-
3. Confirm in the dialog and wait a couple of minutes for the deployment to complete.
149-
150-
For additional information on PowerSync's sync rules, refer to the [Sync Rules](/usage/sync-rules) documentation.
143+
3. In the top right, click **"Validate sync rules"** and ensure there are no errors. This validates your sync rules against your Postgres database.
144+
4. In the top right, click **"Deploy sync rules"** and select your instance.
145+
5. Confirm in the dialog and wait a couple of minutes for the deployment to complete.
151146
152-
If you're wondering how Sync Rules relate to Supabase Postgres [RLS](https://supabase.com/docs/guides/auth/row-level-security), see [this subsection](/integration-guides/supabase-+-powersync/rls-and-sync-rules).
147+
<Tip>
148+
- For additional information on PowerSync's Sync Rules, refer to the [Sync Rules](/usage/sync-rules) documentation.
149+
- If you're wondering how Sync Rules relate to Supabase Postgres [RLS](https://supabase.com/docs/guides/auth/row-level-security), see [this subsection](/integration-guides/supabase-+-powersync/rls-and-sync-rules).
150+
</Tip>
153151
154152
## Test Everything (Using Our Demo App)
155153

mint.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
"integration-guides/flutterflow-+-powersync",
253253
"integration-guides/flutterflow-+-powersync/flutter-web",
254254
"integration-guides/flutterflow-+-powersync/full-text-search",
255-
"integration-guides/flutterflow-+-powersync/github-workflow"
255+
"integration-guides/flutterflow-+-powersync/powersync-+-flutterflow-legacy"
256256
]
257257
},
258258
"integration-guides/railway-+-powersync",

0 commit comments

Comments
 (0)