Skip to content

Commit 1e2213a

Browse files
[Chore] Fix Capacitor SDK Versioning (#751)
1 parent a6e3db4 commit 1e2213a

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

demos/example-capacitor/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ To see it in action:
1313

1414
To run the iOS version of the app run:
1515

16-
1. `pnpm sync`
17-
2. `pnpm ios`
16+
1. `pnpm build`
17+
2. `pnpm sync`
18+
3. `pnpm ios`
1819

1920
## Android
2021

2122
To run the Android version of the app run:
2223

23-
1. `pnpm sync`
24-
2. `pnpm android` (to see console run `chrome://inspect/#devices` in browser)
24+
1. `pnpm build`
25+
2. `pnpm sync`
26+
3. `pnpm android` (to see console run `chrome://inspect/#devices` in browser)

demos/example-capacitor/src/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<html lang="en">
22
<head>
33
<meta name="theme-color" content="#c44eff" />
4+
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
45
<link rel="apple-touch-icon" href="/icons/icon.png" />
56
<link rel="stylesheet" href="./app/globals.css" />
67
<script type="module" src="./app/index.tsx"></script>

packages/capacitor/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# @powersync/capacitor

packages/capacitor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
_[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._
88

9-
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.
9+
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.
1010

1111
## Note: Alpha Release
1212

packages/capacitor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
},
7070
"peerDependencies": {
7171
"@capacitor-community/sqlite": "^7.0.2",
72-
"@powersync/web": "workspace:^"
72+
"@powersync/web": "workspace:^1.27.1"
7373
},
7474
"swiftlint": "@ionic/swiftlint-config",
7575
"capacitor": {

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)