diff --git a/CHANGELOG.md b/CHANGELOG.md index f376c3a..67a5681 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Changelog All changes to this project will be documented in this file. +## [1.1.0] - 2024-02-16 +- Add support for RN new architecture: Turbo Native Modules +- Add an API to set time out +- Add an API to upload with upload token and video id +- Android: add support for upload in background +- Android: request permission at runtime + ## [1.0.0] - 2022-07-06 - Android: Fix set chunk unhandled exception - Add API to set application name diff --git a/README.md b/README.md index a497348..f05f593 100644 --- a/README.md +++ b/README.md @@ -52,16 +52,6 @@ or yarn add @api.video/react-native-video-uploader ``` -_Note: if you are on iOS, you will need two extra steps:_ - -1. Don't forget to install the native dependencies with Cocoapods - -```sh -cd ios && pod install -``` - -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) - ### Code sample ```js @@ -80,7 +70,7 @@ ApiVideoUploader.uploadWithUploadToken('YOUR_UPLOAD_TOKEN', 'path/to/my-video.mp #### Permissions -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. +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. 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. diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 12aed6c..8d2beb8 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -1,7 +1,7 @@ PODS: - Alamofire (5.4.4) - AnyCodable-FlightSchool (0.6.7) - - ApiVideoUploader (1.2.1): + - ApiVideoUploader (1.2.2): - Alamofire (~> 5.4.3) - AnyCodable-FlightSchool (~> 0.6.1) - boost (1.83.0) @@ -898,7 +898,7 @@ PODS: - RCT-Folly (= 2022.05.16.00) - React-Core - react-native-video-uploader (1.1.0): - - ApiVideoUploader (= 1.2.1) + - ApiVideoUploader (= 1.2.2) - glog - RCT-Folly (= 2022.05.16.00) - React-Core @@ -1245,7 +1245,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: Alamofire: f3b09a368f1582ab751b3fff5460276e0d2cf5c9 AnyCodable-FlightSchool: 261cbe76757802b17d471b9059b21e6fa5edf57b - ApiVideoUploader: a457398d464702bf5733d8b5a64115ffe333f685 + ApiVideoUploader: e04ec826bdb86c6980d13add00f61903cd9fa4aa boost: d3f49c53809116a5d38da093a8aa78bf551aed09 DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953 FBLazyVector: 84f6edbe225f38aebd9deaf1540a4160b1f087d7 @@ -1277,7 +1277,7 @@ SPEC CHECKSUMS: React-Mapbuffer: 63913773ed7f96b814a2521e13e6d010282096ad react-native-blob-util: d8fa1a7f726867907a8e43163fdd8b441d4489ea react-native-image-picker: 6c51359eca7a7df9f07e297218c25696eb9da976 - react-native-video-uploader: 7a0e35be07d3c84bc35e1b8a2269986b5a8513cc + react-native-video-uploader: 433b371c64ab080ec1bb77de6dfa349f17488e7a React-nativeconfig: d7af5bae6da70fa15ce44f045621cf99ed24087c React-NativeModulesApple: 0123905d5699853ac68519607555a9a4f5c7b3ac React-perflogger: 8a1e1af5733004bdd91258dcefbde21e0d1faccd