Skip to content

Commit f5b8578

Browse files
author
Raiden-16F7
committed
Expo Config Plugin Created
1 parent c3a0641 commit f5b8578

File tree

5 files changed

+1552
-8
lines changed

5 files changed

+1552
-8
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,23 @@
55
This repository is a fork of [react-native-quick-sqlite](https://github.com/ospfranco/react-native-quick-sqlite?tab=readme-ov-file) that includes custom SQLite extensions built specifically for **PowerSync**. It has been modified to meet the needs of **PowerSync**, adding features or behaviors that are different from the original repository.
66

77
It is **not** intended to be used independently, use [PowerSync React Native SDK](https://github.com/powersync-ja/powersync-js/tree/main/packages/react-native) and install this alongside it as a peer dependency.
8+
9+
### For Expo
10+
11+
#### Using `use_frameworks!` on iOS? Add the Config Plugin
12+
13+
If your iOS project uses `use_frameworks!`, you need to add the config plugin to your **app.json** or **app.config.js** to ensure proper setup.
14+
15+
#### Steps to Add the Plugin
16+
17+
#### **For `app.json` (Recommended for most users):**
18+
19+
Add the following snippet inside the `"expo"` section:
20+
21+
```json
22+
{
23+
"expo": {
24+
"plugins": [["@journeyapps/react-native-quick-sqlite"]]
25+
}
26+
}
27+
```

app.plugin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('./src/withUseFrameworks').default;

0 commit comments

Comments
 (0)