Skip to content

Commit 887f6cc

Browse files
committed
updated readme with react native/expo install instructions
1 parent 03c2bab commit 887f6cc

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,38 @@
1212
npm install @sqlitecloud/drivers
1313
```
1414

15+
## React Native / Expo Install
16+
17+
You also have to install Peer Dependencies
18+
19+
```bash
20+
npm install @sqlitecloud/drivers react-native-tcp-socket react-native-fast-base64
21+
```
22+
23+
React Native run IOS
24+
25+
```bash
26+
cd ios && pod install && cd .. && npm run ios
27+
```
28+
29+
React Native run Android (without ./ in Windows)
30+
31+
```bash
32+
cd android && ./gradlew clean build && cd .. && npm run android
33+
```
34+
35+
Expo run IOS
36+
37+
```bash
38+
npx expo prebuild && npx expo run:ios
39+
```
40+
41+
Expo run Android
42+
43+
```bash
44+
npx expo prebuild && npx expo run:android
45+
```
46+
1547
## Usage
1648

1749
```ts
@@ -60,6 +92,10 @@ Pub/Sub is a messaging pattern that allows multiple applications to communicate
6092

6193
Pub/Sub Documentation: [https://docs.sqlitecloud.io/docs/pub-sub](https://docs.sqlitecloud.io/docs/pub-sub)
6294

95+
## Examples
96+
97+
Check out all the supported platforms with related examples [here](https://github.com/sqlitecloud/sqlitecloud-js/tree/main/examples)!
98+
6399
## More
64100

65101
How do I deploy SQLite in the cloud?

0 commit comments

Comments
 (0)