Skip to content

Commit

Permalink
fix(ios): missing onVideoEnd argument
Browse files Browse the repository at this point in the history
  • Loading branch information
hehex9 committed May 7, 2020
1 parent 8c57203 commit 54ac650
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ PODS:
- React-cxxreact (= 0.61.2)
- React-jsi (= 0.61.2)
- React-jsinspector (0.61.2)
- react-native-apsara-player (0.2.1):
- react-native-apsara-player (0.2.2):
- AliPlayerSDK_iOS
- React
- react-native-slider (2.0.2):
Expand Down Expand Up @@ -338,7 +338,7 @@ SPEC CHECKSUMS:
React-jsi: 32285a21b1b24c36060493ed3057a34677d58d09
React-jsiexecutor: 8909917ff7d8f21a57e443a866fd8d4560e50c65
React-jsinspector: 111d7d342b07a904c400592e02a2b958f1098b60
react-native-apsara-player: 81c8559d8c1b7e06f89d98393c3cfd3e19156252
react-native-apsara-player: b00ffbe20b854ba5de6246c856298b4e9db8f112
react-native-slider: 5d61590f26a51cf0a858bfd1543f6d6ec8b78a6e
React-RCTActionSheet: 89b037c0fb7d2671607cb645760164e7e0c013f6
React-RCTAnimation: e3cefa93c38c004c318f7ec04b883eb14b8b8235
Expand All @@ -354,4 +354,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: a3dcd3b71c72f66b7e7aa774f9427d5f76564d24

COCOAPODS: 1.8.4
COCOAPODS: 1.9.1
2 changes: 1 addition & 1 deletion ios/ApsaraPlayerView.m
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ -(void)onPlayerEvent:(AliPlayer*)player eventType:(AVPEventType)eventType {
break;
case AVPEventCompletion:
if (self.onVideoEnd) {
self.onVideoEnd();
self.onVideoEnd(@{});
}
break;
// case ...
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-apsara-player",
"title": "A React Native wrapper around AliyunVideo SDK",
"version": "0.2.3",
"version": "0.2.4",
"description": "A React Native wrapper around AliyunVideo SDK",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 54ac650

Please sign in to comment.