- DATE:
- AUTHOR:
- PowerSync Product Team
Flutter Web Support is in Beta ๐
We are pleased to announce version 1.9.2 of the PowerSync Flutter SDK, now with Flutter Web support in a beta release.
This means that you can now use Flutter Web in production, given that you sufficiently tested your use cases.
This release introduces shared sync coordination across tabsโour final step to full Flutter Web support. This was achieved by offloading the task of synchronizing databases to a separate worker (powersync_sync.worker.js
), allowing it to be coordinated across tabs.
Huge thanks to Simon Binder, the maintainer for Dartโs SQLite3 and Drift packages, who did the bulk of the initial work for this release
Getting started:
Existing users who previously used the Flutter Web alpha:
Update the
powersync
SDK to the latest version.Download relevant assets (including the new
powersync_sync.worker.js
file) by runningdart run powersync:setup_web
Users new to Flutter Web support:
Get a feel for using PowerSync in Flutter Web apps by trying our demo. Instructions can be found here.
Install Flutter Web in your own project by following the instructions outlined here.
Recommendation:
Enable OPFS for improved performance - see details here.