Skip to content

Commit 296fef9

Browse files
committed
chore(version): bump to 1.1.0
1 parent 4030f8d commit 296fef9

File tree

3 files changed

+12
-15
lines changed

3 files changed

+12
-15
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Changelog
22
All changes to this project will be documented in this file.
33

4+
## [1.1.0] - 2024-02-16
5+
- Add support for RN new architecture: Turbo Native Modules
6+
- Add an API to set time out
7+
- Add an API to upload with upload token and video id
8+
- Android: add support for upload in background
9+
- Android: request permission at runtime
10+
411
## [1.0.0] - 2022-07-06
512
- Android: Fix set chunk unhandled exception
613
- Add API to set application name

README.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,6 @@ or
5252
yarn add @api.video/react-native-video-uploader
5353
```
5454

55-
_Note: if you are on iOS, you will need two extra steps:_
56-
57-
1. Don't forget to install the native dependencies with Cocoapods
58-
59-
```sh
60-
cd ios && pod install
61-
```
62-
63-
2. This project contains Swift code, and if it's your first dependency with Swift code, you need to create an empty Swift file in your project (with the bridging header) from XCode. [Find how to do that](https://github.com/apivideo/api.video-reactnative-uploader/blob/main/docss/install_swift_dependency.md)
64-
6555
### Code sample
6656

6757
```js
@@ -80,7 +70,7 @@ ApiVideoUploader.uploadWithUploadToken('YOUR_UPLOAD_TOKEN', 'path/to/my-video.mp
8070

8171
#### Permissions
8272

83-
Permissions `android.permission.READ_MEDIA_VIDEO` (for API 33+) or `android.permission.READ_EXTERNAL_STORAGE` (for API < 33) will be requested by this library at runtime.
73+
Permissions `android.permission.READ_MEDIA_VIDEO` (for API 33+) or `android.permission.READ_EXTERNAL_STORAGE` (for API < 33) are in the library manifest and will be requested by this library at runtime. You don't have to request them in your application.
8474

8575
On Android 33+, the upload comes with a notification to show the progress. So if your application targets Android 33+, you might request `android.permission.POST_NOTIFICATIONS` permission at runtime.
8676

example/ios/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PODS:
22
- Alamofire (5.4.4)
33
- AnyCodable-FlightSchool (0.6.7)
4-
- ApiVideoUploader (1.2.1):
4+
- ApiVideoUploader (1.2.2):
55
- Alamofire (~> 5.4.3)
66
- AnyCodable-FlightSchool (~> 0.6.1)
77
- boost (1.83.0)
@@ -898,7 +898,7 @@ PODS:
898898
- RCT-Folly (= 2022.05.16.00)
899899
- React-Core
900900
- react-native-video-uploader (1.1.0):
901-
- ApiVideoUploader (= 1.2.1)
901+
- ApiVideoUploader (= 1.2.2)
902902
- glog
903903
- RCT-Folly (= 2022.05.16.00)
904904
- React-Core
@@ -1245,7 +1245,7 @@ EXTERNAL SOURCES:
12451245
SPEC CHECKSUMS:
12461246
Alamofire: f3b09a368f1582ab751b3fff5460276e0d2cf5c9
12471247
AnyCodable-FlightSchool: 261cbe76757802b17d471b9059b21e6fa5edf57b
1248-
ApiVideoUploader: a457398d464702bf5733d8b5a64115ffe333f685
1248+
ApiVideoUploader: e04ec826bdb86c6980d13add00f61903cd9fa4aa
12491249
boost: d3f49c53809116a5d38da093a8aa78bf551aed09
12501250
DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953
12511251
FBLazyVector: 84f6edbe225f38aebd9deaf1540a4160b1f087d7
@@ -1277,7 +1277,7 @@ SPEC CHECKSUMS:
12771277
React-Mapbuffer: 63913773ed7f96b814a2521e13e6d010282096ad
12781278
react-native-blob-util: d8fa1a7f726867907a8e43163fdd8b441d4489ea
12791279
react-native-image-picker: 6c51359eca7a7df9f07e297218c25696eb9da976
1280-
react-native-video-uploader: 7a0e35be07d3c84bc35e1b8a2269986b5a8513cc
1280+
react-native-video-uploader: 433b371c64ab080ec1bb77de6dfa349f17488e7a
12811281
React-nativeconfig: d7af5bae6da70fa15ce44f045621cf99ed24087c
12821282
React-NativeModulesApple: 0123905d5699853ac68519607555a9a4f5c7b3ac
12831283
React-perflogger: 8a1e1af5733004bdd91258dcefbde21e0d1faccd

0 commit comments

Comments
 (0)