Skip to content

Commit 4cc5979

Browse files
committed
docs: update docs for expo
1 parent c407dbf commit 4cc5979

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ If you find this package useful hit the star 🌟
2828

2929
## Installation
3030

31+
### React Native
32+
3133
#### For React Native<0.65
3234

3335
```sh
34-
36+
3537
```
3638

3739
#### For React Native 0.65 or greater
@@ -40,6 +42,21 @@ yarn add [email protected]
4042
yarn add react-native-compressor
4143
```
4244

45+
### Managed Expo
46+
47+
```
48+
expo install react-native-compressor
49+
```
50+
51+
Add the Compressor plugin to your Expo config (`app.json`, `app.config.json` or `app.config.js`):
52+
53+
```json
54+
{
55+
"name": "my app",
56+
"plugins": ["react-native-compressor"]
57+
}
58+
```
59+
4360
### Automatic linking (for React Native >= 0.60 only)
4461

4562
Automatic linking is supported for both `Android` and `IOS`

0 commit comments

Comments
 (0)