powersync.dart
powersync.dart copied to clipboard
SDK that enables local-first and real-time reactive apps with embedded SQLite for Flutter/Dart clients
This tracks the alpha release of Web support. PR includes changes from: - https://github.com/powersync-ja/powersync.dart/pull/56 - https://github.com/powersync-ja/powersync.dart/pull/62
Web support?
Web is a key platform for my application and it's the main blocker for me switching to powersync right now! Thanks for the work team :)
POC of using [Drift](https://drift.simonbinder.eu/) as an ORM for the supabase-todolist demo. ~The bulk of the integration is in the `drift_sqlite_async.dart` file, loosely based on the [drift_sqflite](https://github.com/simolus3/drift/tree/develop/drift_sqflite) query executor. The implementation...
## Description Version solving fails if the `pubspec_overrides.yaml` is not generated before running `melos publish (dart pub publish --dry-run)`. It tends to look for a new version online before it...
This adds a demo project that aims to demonstrate how an app could be built starting from a local-only state and later being "upgraded" to a version that has sync...
I got into a state where https://github.com/powersync-ja/powersync.dart/blob/512357877a50d1ac0b7c32ea08ce302336c94a51/packages/powersync/lib/src/crud.dart#L86 was failing since somehow `data['id']` was an `int`. I didn't see an easy way to resolve this so I had to run ```dart...
Updates sqlite_async version in the package and in the demos, and it updates the drift demo with an up to date version. Depends on https://github.com/powersync-ja/sqlite_async.dart/pull/65
See release notes: https://github.com/powersync-ja/powersync-sqlite-core/releases/tag/v0.3.0
Compiling lib\main.dart for the Web... Target dart2js failed: ProcessException: Process exited abnormally with exit code 1: /C:/Users/runneradmin/AppData/Local/Pub/Cache/hosted/pub.dev/drift-2.14.1/lib/src/web/wasm_setup/shared.dart:40:47: Error: The argument type 'LegacySyncFileHandle' can't be assigned to the parameter type 'Object'...