Skip to content

Commit 4ece748

Browse files
authored
Merge pull request #258 from sqlitecloud/fix-react-native-conflict
Fix React Native/Next.js conflict
2 parents ebbaf74 + 7fa4485 commit 4ece748

File tree

7 files changed

+1293
-18
lines changed

7 files changed

+1293
-18
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,24 @@
88

99
## Install
1010

11+
### Web / Node.js / Next.js
12+
1113
```bash
1214
npm install @sqlitecloud/drivers
1315
```
1416

15-
## React Native / Expo Install
17+
No additional dependencies required - the package works out of the box.
18+
19+
### React Native / Expo
1620

17-
You also have to install Peer Dependencies
21+
When using this package in React Native or Expo projects, you must install the required peer dependencies. These dependencies are optional and not installed automatically to avoid polluting web and Node.js projects with unnecessary packages.
1822

1923
```bash
20-
npm install @sqlitecloud/drivers react-native-tcp-socket react-native-quick-base64
24+
npm install @sqlitecloud/drivers react-native-tcp-socket react-native-quick-base64 @craftzdog/react-native-buffer react-native-url-polyfill
2125
```
2226

27+
If you forget to install these dependencies, the package will throw clear error messages indicating which dependency is missing and how to install it.
28+
2329
React Native run iOS
2430

2531
```bash

0 commit comments

Comments
 (0)