Skip to content

Commit 92ef770

Browse files
committed
docs: update docs
1 parent 5595259 commit 92ef770

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# These are supported funding model platforms
22

3-
github: nomi9995 # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
3+
github: nomi9995
44
patreon: # Replace with a single Patreon username
55
open_collective: # Replace with a single Open Collective username
66
ko_fi: # Replace with a single Ko-fi username
@@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
99
liberapay: # Replace with a single Liberapay username
1010
issuehunt: # Replace with a single IssueHunt username
1111
otechie: # Replace with a single Otechie username
12-
custom: http://buymeacoffee.com/numan.dev # Replace with a single custom sponsorship URL
12+
custom: http://buymeacoffee.com/numan.dev

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@ Add the Compressor plugin to your Expo config (`app.json`, `app.config.json` or
5757
}
5858
```
5959

60+
Finally, compile the mods:
61+
62+
```
63+
expo prebuild
64+
```
65+
66+
To apply the changes, build a new binary with EAS:
67+
68+
```
69+
eas build
70+
```
71+
6072
### Automatic linking (for React Native >= 0.60 only)
6173

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

example/src/Screens/Video/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ export default function App() {
113113
sourceVideo,
114114
{
115115
compressionMethod: 'auto',
116-
minimumFileSizeForCompress: 2,
116+
minimumFileSizeForCompress: 5,
117+
maxSize: 1000,
117118
},
118119
(progress) => {
119120
if (backgroundMode) {
@@ -123,6 +124,7 @@ export default function App() {
123124
}
124125
}
125126
);
127+
console.log({ sourceVideo, dstUrl }, 'biss');
126128
setCompressedVideo(dstUrl);
127129
setCompressingProgress(0);
128130
};

0 commit comments

Comments
 (0)