react-native-compressor 1.8.18 → 1.8.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/package.json +13 -2
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
**REACT-NATIVE-COMPRESSOR** is a react-native package, which helps us to Compress `Image`, `Video`, and `Audio` before uploading, same like **Whatsapp** without knowing the compression `algorithm`
|
|
18
18
|
|
|
19
19
|
<div align="center">
|
|
20
|
-
<
|
|
20
|
+
<h4>Auto/Manual Compression | Background Upload | Download File | Create Video Thumbnail</h4>
|
|
21
21
|
</div>
|
|
22
22
|
<br/>
|
|
23
23
|
|
|
@@ -72,11 +72,13 @@ We should use **react-native-compressor** instead of **FFmpeg** because **react-
|
|
|
72
72
|
- [Video Api Docs](#video-1)
|
|
73
73
|
- [Audio](#audio)
|
|
74
74
|
- [Background Upload](#background-upload)
|
|
75
|
+
- [Cancel Background Upload](#cancel-background-upload)
|
|
75
76
|
- [Download File](#download)
|
|
76
77
|
- [Create Video Thumbnail and Clear Cache](#create-video-thumbnail-and-clear-cache)
|
|
77
78
|
|
|
78
79
|
* [Other Utilities](#api)
|
|
79
80
|
- [Background Upload](#background-upload-1)
|
|
81
|
+
- [Cancel Background Upload](#cancel-background-upload-1)
|
|
80
82
|
- [Get Metadata Of Video](#get-metadata-of-video)
|
|
81
83
|
- [Get Real Path](#get-real-path)
|
|
82
84
|
- [Get Temp file Path](#get-temp-file-path)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-compressor",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.19",
|
|
4
4
|
"description": "This library compress image, video and audio",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -55,7 +55,18 @@
|
|
|
55
55
|
"react-native-compressor",
|
|
56
56
|
"compress-audio",
|
|
57
57
|
"whatsapp",
|
|
58
|
-
"compressor"
|
|
58
|
+
"compressor",
|
|
59
|
+
"background",
|
|
60
|
+
"NSURLSession",
|
|
61
|
+
"uploader",
|
|
62
|
+
"upload",
|
|
63
|
+
"UploadService",
|
|
64
|
+
"downloader",
|
|
65
|
+
"download",
|
|
66
|
+
"thumbnail",
|
|
67
|
+
"create-thumbnail",
|
|
68
|
+
"video-metadata",
|
|
69
|
+
"media"
|
|
59
70
|
],
|
|
60
71
|
"repository": "https://github.com/numandev1/react-native-compressor",
|
|
61
72
|
"author": "numandev1 <muhammadnuman70@gmail.com> (https://github.com/numandev1)",
|