Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web: Enable PowerSync extensions even without worker #228

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

simolus3
Copy link
Contributor

Note: This requires powersync-ja/sqlite_async.dart#81

When we're running in a context where workers haven't been set up (like e.g. the Test Run environment from FlutterFlow), fall back to hosting the SQLite database in the main JavaScript context. This also requires setting up the powersync extension, which is normally done by the worker.

@simolus3 simolus3 force-pushed the feat/enable-controller-without-workers branch from 4ba63ab to a7e0b43 Compare January 23, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant