You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/powersync-op-sqlite/README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,10 @@ Follow the installation instructions for the [React Native SDK](https://github.c
16
16
npx expo install @powersync/op-sqlite
17
17
```
18
18
19
+
When using this package without a frameowrk like Expo, we recommend adding [this metro config](https://github.com/powersync-ja/powersync-js/tree/main/packages/react-native#metro-config-optional)
20
+
to avoid issues related to bundling PowerSync.
21
+
Without it, you may be getting `TypeError: Cannot read property 'PowerSyncDatabase' of undefined` or similar errors.
22
+
19
23
### Install Peer Dependency:
20
24
21
25
This SDK currently requires `@op-engineering/op-sqlite` as a peer dependency.
0 commit comments