Example demonstrating the use of the PowerSync SDK for Web together with a Capacitor App.
To see it in action:
- Make sure to run
pnpm install
andpnpm build:packages
in the root directory of this repo. - Copy
.env.local.template
to.env.local
, and complete the environment variables. You can generate a temporary development token, or leave blank to test with local-only data. cd
into this directory and runpnpm start
.- Open the localhost URL displayed in the terminal output in your browser.
To run the iOS version of the app run:
pnpm sync
pnpm ios
To run the Android version of the app run:
pnpm sync
pnpm android
(to see console runchrome://inspect/#devices
in browser)