Skip to content

Commit

Permalink
chore(*): move to swift-uploader instead of ios-uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaultBee committed Oct 13, 2023
1 parent 6e02186 commit aa237dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -93,14 +93,14 @@ api.video-reactnative-uploader is using external native library for upload

| Plugin | README |
| ---------------------- | ------------------------ |
| iOS-video-uploader | [ios-video-uploader] |
| Swift-video-uploader | [swift-video-uploader] |
| android-video-uploader | [android-video-uploader] |

# FAQ

If you have any questions, ask us in the [community](https://community.api.video) or use [Issues].

[//]: # "These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen. Thanks SO - http://stackoverflow.com/questions/4823468/store-comments-in-markdown-syntax"
[ios-video-uploader]: https://github.com/apivideo/api.video-ios-uploader
[swift-video-uploader]: https://github.com/apivideo/api.video-swift-uploader
[android-video-uploader]: https://github.com/apivideo/api.video-android-uploader
[issues]: https://github.com/apivideo/api.video-reactnative-uploader/issues
4 changes: 2 additions & 2 deletions ios/RNUploader.m
Expand Up @@ -34,11 +34,11 @@ @interface RCT_EXTERN_REMAP_MODULE(ApiVideoUploader, RNUploader, NSObject<RCTBri

RCT_EXTERN_METHOD(setTimeout:(NSNumber)timeout)

RCT_EXTERN_METHOD(uploadWithUploadToken:(NSString)token:(NSString)filePath:(NSString)videoId
RCT_EXTERN_METHOD(uploadWithUploadToken:(NSString)token:(NSString)filePath:(nonnull RCTResponseSenderBlock)onProgress:(NSString)videoId
withResolver:(RCTPromiseResolveBlock)resolve
withRejecter:(RCTPromiseRejectBlock)reject)

RCT_EXTERN_METHOD(upload:(NSString)videoId:(NSString)filePath
RCT_EXTERN_METHOD(upload:(NSString)videoId:(NSString)filePath:(nonnull RCTResponseSenderBlock)onProgress
withResolver:(RCTPromiseResolveBlock)resolve
withRejecter:(RCTPromiseRejectBlock)reject)

Expand Down

0 comments on commit aa237dc

Please sign in to comment.