Skip to content

Commit

Permalink
更新版本0.4.2;
Browse files Browse the repository at this point in the history
iOS:
修复没有自动开启下载任务的问题
  • Loading branch information
MissYasiky committed Feb 20, 2021
1 parent 74efd8a commit 6d82138
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ios/PolyvVodRnDemo/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#import "AppDelegate.h"

#import <PLVVodSDK/PLVVodSDK.h>
#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>

Expand All @@ -33,6 +34,8 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];
[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationNone];

[PLVVodDownloadManager sharedManager].autoStart = YES;

return YES;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "PolyvVodRnDemo",
"version": "0.4.1",
"version": "0.4.2",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
Expand Down

0 comments on commit 6d82138

Please sign in to comment.