Skip to content

Commit c66ddcb

Browse files
author
ThibaultBee
committed
chore(version): bump to version 0.2.0
1 parent a126e5d commit c66ddcb

File tree

8 files changed

+3771
-3820
lines changed

8 files changed

+3771
-3820
lines changed

CHANGELOG.md

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

4+
## [0.2.0] - 2022-01-12
5+
- Rename package to `@api.video/react-native-video-uploader`
6+
- Add `upload` by videoId
7+
- Update to new Android and iOS video uploader
8+
49
## [0.1.1] - 2021-09-09
510
- Fix podspec integration
611

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![badge](https://img.shields.io/twitter/follow/api_video?style=social)](https://twitter.com/intent/follow?screen_name=api_video)   [![badge](https://img.shields.io/github/stars/apivideo/api.video-reactnative-uploader?style=social)](https://github.com/apivideo/api.video-reactnative-uploader)   [![badge](https://img.shields.io/discourse/topics?server=https%3A%2F%2Fcommunity.api.video)](https://community.api.video)
22
![](https://github.com/apivideo/API_OAS_file/blob/master/apivideo_banner.png)
3-
![npm](https://img.shields.io/npm/v/@api.video/react-native-uploader) ![ts](https://badgen.net/badge/-/TypeScript/blue?icon=typescript&label)
3+
![npm](https://img.shields.io/npm/v/@api.video/react-native-video-uploader) ![ts](https://badgen.net/badge/-/TypeScript/blue?icon=typescript&label)
44

55
<h1 align="center">api.video React Native video uploader module</h1>
66

@@ -26,13 +26,13 @@ This module is an easy way to upload video with delegated token to Api.Video
2626
## Installation
2727

2828
```sh
29-
npm install @api.video/react-native-uploader
29+
npm install @api.video/react-native-video-uploader
3030
```
3131

3232
or
3333

3434
```sh
35-
yarn add @api.video/react-native-uploader
35+
yarn add @api.video/react-native-video-uploader
3636
```
3737

3838
_Note: if you are on iOS, you will need two extra steps:_
@@ -48,7 +48,7 @@ cd ios && pod install
4848
## Code sample
4949

5050
```js
51-
import ApiVideoUploader from '@api.video/react-native-uploader';
51+
import ApiVideoUploader from '@api.video/react-native-video-uploader';
5252

5353
ApiVideoUploader.upload('MY_VIDEO_TOKEN', 'my-video.mp4')
5454
.then((value: Video) => {

example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ target 'Example' do
88

99
use_react_native!(:path => config["reactNativePath"])
1010

11-
pod 'react-native-uploader', :path => '../..'
11+
pod 'react-native-video-uploader', :path => '../..'
1212
pod 'rn-fetch-blob', :path => '../node_modules/rn-fetch-blob'
1313

1414
# Enables Flipper.

example/ios/Podfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ PODS:
252252
- React-jsinspector (0.63.4)
253253
- react-native-image-picker (4.0.6):
254254
- React-Core
255-
- react-native-uploader (0.1.1):
255+
- react-native-video-uploader (0.2.0):
256256
- ApiVideoUploader (= 0.1.2)
257257
- React-Core
258258
- React-RCTActionSheet (0.63.4):
@@ -359,7 +359,7 @@ DEPENDENCIES:
359359
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
360360
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
361361
- react-native-image-picker (from `../node_modules/react-native-image-picker`)
362-
- react-native-uploader (from `../..`)
362+
- react-native-video-uploader (from `../..`)
363363
- React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`)
364364
- React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`)
365365
- React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`)
@@ -424,7 +424,7 @@ EXTERNAL SOURCES:
424424
:path: "../node_modules/react-native/ReactCommon/jsinspector"
425425
react-native-image-picker:
426426
:path: "../node_modules/react-native-image-picker"
427-
react-native-uploader:
427+
react-native-video-uploader:
428428
:path: "../.."
429429
React-RCTActionSheet:
430430
:path: "../node_modules/react-native/Libraries/ActionSheetIOS"
@@ -482,7 +482,7 @@ SPEC CHECKSUMS:
482482
React-jsiexecutor: 93bd528844ad21dc07aab1c67cb10abae6df6949
483483
React-jsinspector: 58aef7155bc9a9683f5b60b35eccea8722a4f53a
484484
react-native-image-picker: a6e56460d34905c849ada551db30897dc7f3d535
485-
react-native-uploader: b20817f19015d07b66871c51212110d48e92e0e0
485+
react-native-video-uploader: a7279bdc1be5b867dbd82d93224a5578f3619caa
486486
React-RCTActionSheet: 89a0ca9f4a06c1f93c26067af074ccdce0f40336
487487
React-RCTAnimation: 1bde3ecc0c104c55df246eda516e0deb03c4e49b
488488
React-RCTBlob: a97d378b527740cc667e03ebfa183a75231ab0f0
@@ -497,6 +497,6 @@ SPEC CHECKSUMS:
497497
Yoga: 4bd86afe9883422a7c4028c00e34790f560923d6
498498
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
499499

500-
PODFILE CHECKSUM: 1ef8a38c4695fdd59ab6d2e41ddce5acfac2e269
500+
PODFILE CHECKSUM: c2b9dd1d61da1074c883f5af3733c5ed77048ed8
501501

502502
COCOAPODS: 1.11.2

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import ApiVideoUploader from '@api.video/react-native-uploader';
1+
import ApiVideoUploader from '@api.video/react-native-video-uploader';
22
import * as React from 'react';
33
import {
44
Alert,

example/yarn.lock

Lines changed: 3752 additions & 3806 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@api.video/react-native-uploader",
3-
"version": "0.1.1",
2+
"name": "@api.video/react-native-video-uploader",
3+
"version": "0.2.0",
44
"description": "The official React Native video uploader for api.video",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

react-native-uploader.podspec renamed to react-native-video-uploader.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ require "json"
33
package = JSON.parse(File.read(File.join(__dir__, "package.json")))
44

55
Pod::Spec.new do |s|
6-
s.name = "react-native-uploader"
6+
s.name = "react-native-video-uploader"
77
s.version = package["version"]
88
s.summary = package["description"]
99
s.homepage = package["homepage"]

0 commit comments

Comments
 (0)