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 installandpnpm build:packagesin the root directory of this repo. - Copy
.env.local.templateto.env.local, and complete the environment variables. You can generate a temporary development token, or leave blank to test with local-only data. cdinto 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 syncpnpm ios
To run the Android version of the app run:
pnpm syncpnpm android(to see console runchrome://inspect/#devicesin browser)