- DATE:
- AUTHOR:
- PowerSync Product Team
Introducing the New PowerSync + FlutterFlow Integration
We are excited to introduce our updated PowerSync FlutterFlow integration, making it easier than ever to build offline-first apps in FlutterFlow, utilizing Supabase as the backend. This latest version introduces a dedicated PowerSync FlutterFlow Library, offering a simpler and more robust solution compared to the previous version, which required extensive custom code.
PowerSync enables real-time sync between Supabase and an in-app SQLite database. Instead of making network requests to query Supabase, your app interacts directly with a local SQLite database—PowerSync keeps it updated in the background. For users, this means instant interactions and immediate visibility of data changes made by others. This offline-first (or “local-first”) architecture ensures your app remains responsive and fully functional, even when offline.
Learn more about the PowerSync + FlutterFlow integration in this blog post.
Key Improvements
Uses the new PowerSync FlutterFlow Library: This simplifies the implementation significantly:
Fewer manual configuration steps.
You no longer need to write excessive custom code to interact with PowerSync.
Supports Web-based Test Mode: You can now easily test your app in your web browser.
Working Attachments Package (Coming Soon): A future update will introduce attachment support utilizing PowerSync's Attachment Package for Flutter.
Getting Started
To begin using the new PowerSync FlutterFlow integration, follow our PowerSync + FlutterFlow Integration Guide. On a high level, the guide covers how to:
Configure Supabase and PowerSync: Set up a Supabase project and connect it with PowerSync.
Install the PowerSync FlutterFlow Library in your FlutterFlow project.
Build Your App’s UI: Utilize FlutterFlow's UI builder to create your app's frontend components.
Implement Data Operations: Set up read, create, update, and delete functions using the PowerSync library.
Secure Your App: Implement Row-Level Security (RLS) in Supabase and update Sync Rules in PowerSync to protect user data.
Resources
Integration Guide: PowerSync + FlutterFlow Integration Guide
Community Support: Join the discussion on our Discord for help and feedback.