Skip to content

Commit 80de755

Browse files
authored
Merge pull request #204 from powersync-ja/flutter-web-beta
Update readme to reflect flutter web beta
2 parents 2077244 + 8de22a9 commit 80de755

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

packages/powersync/README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ flutter pub add powersync
2020

2121
Our [full SDK reference](https://docs.powersync.com/client-sdk-references/flutter) contains everything you need to know to get started implementing PowerSync in your project.
2222

23-
## **Web support - Open alpha**
23+
## **Web support - Beta**
2424

25-
Web support in version 1.6.0 is currently in its alpha stage. This README has been updated to reflect changes relevant to this alpha release.
25+
Web support in version 1.9.0 is currently in a beta release. This means it is safe to use in production, provided that you've tested your use cases.
2626

2727
### Demo app
2828

29-
The easiest way to test out the alpha is to run the [Supabase Todo-List](./demos/supabase-todolist) demo app:
29+
The easiest way to test Flutter Web support is to run the [Supabase Todo-List](https://github.com/powersync-ja/powersync.dart/tree/main/demos/supabase-todolist) demo app:
3030

31-
1. Checkout [this repo's](https://github.com/powersync-ja/powersync.dart/tree/master) `master` branch.
31+
1. Checkout [this repo's](https://github.com/powersync-ja/powersync.dart/tree/main) `main` branch.
3232

33-
- Note: If you are an existing user updating to the latest code after a git pull, run `melos exec 'flutter pub upgrade'` in the repo's root and make sure it succeeds.
33+
- Note: If you are an existing user updating to the latest code after a git pull, run `melos exec 'flutter pub upgrade'` in the repo's root directory and make sure it succeeds.
3434

3535
2. Run `melos prepare` in the repo's root
3636
3. cd into the `demos/supabase-todolist` folder
@@ -42,14 +42,14 @@ The easiest way to test out the alpha is to run the [Supabase Todo-List](./demos
4242
Install the latest version of the package, for example:
4343

4444
```
45-
flutter pub add powersync:'^1.6.0'
45+
flutter pub add powersync:'^1.9.0'
4646
```
4747

4848
The latest version can be found [here](https://pub.dev/packages/powersync/versions).
4949

5050
### Additional config
5151

52-
Web support requires `sqlite3.wasm` and `powersync_db.worker.js` assets to be served from the web application. They can be downloaded to the `web` directory by running the following command in your application's root folder.
52+
Web support requires `sqlite3.wasm` and worker (`powersync_db.worker.js` and `powersync_sync.worker.js`) assets to be served from the web application. They can be downloaded to the `web` directory by running the following command in your application's root folder.
5353

5454
```dart
5555
dart run powersync:setup_web
@@ -59,9 +59,7 @@ The same code is used for initializing native and web `PowerSyncDatabase` client
5959

6060
### Limitations
6161

62-
The API for web is essentially the same as for native platforms. Some features within `PowerSyncDatabase` clients are not available.
63-
64-
Multiple tab support is not yet available. Using multiple tabs will break.
62+
The API for Web is essentially the same as for native platforms, however, some features within `PowerSyncDatabase` clients are not available.
6563

6664
#### Imports
6765

0 commit comments

Comments
 (0)