diff --git a/demos/example-capacitor/README.md b/demos/example-capacitor/README.md index c205088db..72ed2a645 100644 --- a/demos/example-capacitor/README.md +++ b/demos/example-capacitor/README.md @@ -13,12 +13,14 @@ To see it in action: To run the iOS version of the app run: - 1. `pnpm sync` - 2. `pnpm ios` +1. `pnpm build` +2. `pnpm sync` +3. `pnpm ios` ## Android To run the Android version of the app run: - 1. `pnpm sync` - 2. `pnpm android` (to see console run `chrome://inspect/#devices` in browser) +1. `pnpm build` +2. `pnpm sync` +3. `pnpm android` (to see console run `chrome://inspect/#devices` in browser) diff --git a/demos/example-capacitor/src/index.html b/demos/example-capacitor/src/index.html index de7a97c29..cc3fc3ea4 100644 --- a/demos/example-capacitor/src/index.html +++ b/demos/example-capacitor/src/index.html @@ -1,6 +1,7 @@
+ diff --git a/packages/capacitor/CHANGELOG.md b/packages/capacitor/CHANGELOG.md new file mode 100644 index 000000000..056af708b --- /dev/null +++ b/packages/capacitor/CHANGELOG.md @@ -0,0 +1 @@ +# @powersync/capacitor diff --git a/packages/capacitor/README.md b/packages/capacitor/README.md index 4c8d0ad37..b14587198 100644 --- a/packages/capacitor/README.md +++ b/packages/capacitor/README.md @@ -6,7 +6,7 @@ _[PowerSync](https://www.powersync.com) is a sync engine for building local-first apps with instantly-responsive UI/UX and simplified state transfer. Syncs between SQLite on the client-side and Postgres, MongoDB or MySQL on the server-side._ -This package (`@powersync/capacitor`) is the PowerSync SDK for Capacitor apps. It wraps the [PowerSync Web SDK](https://www.npmjs.com/package/@powersync/web) and uses [Capacitor Community SQLite](https://github.com/capacitor-community/sqlite) as the database driver for Android and iOS. +This package (`@powersync/capacitor`) is the PowerSync SDK for Capacitor apps. It wraps the [PowerSync Web SDK](https://www.npmjs.com/package/@powersync/web) for Capacitor PWAs and uses [Capacitor Community SQLite](https://github.com/capacitor-community/sqlite) as the database driver for Android and iOS. ## Note: Alpha Release diff --git a/packages/capacitor/package.json b/packages/capacitor/package.json index 15ba0e3bb..659d47092 100644 --- a/packages/capacitor/package.json +++ b/packages/capacitor/package.json @@ -69,7 +69,7 @@ }, "peerDependencies": { "@capacitor-community/sqlite": "^7.0.2", - "@powersync/web": "workspace:^" + "@powersync/web": "workspace:^1.27.1" }, "swiftlint": "@ionic/swiftlint-config", "capacitor": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e8f986916..2fb1fcfbb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1810,7 +1810,7 @@ importers: packages/capacitor: dependencies: '@powersync/web': - specifier: workspace:^ + specifier: workspace:^1.27.1 version: link:../web async-lock: specifier: ^1.4.0