Skip to content

Commit dae5ffd

Browse files
committed
update version and fix demo bug
1 parent cf1c38f commit dae5ffd

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

Example/VPInterfaceControllerDemo/VPSinglePlayerViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ - (void)appInfoViewButtonDidClicked:(id)sender {
464464

465465
- (void)appSettingViewApplyButtonDidClicked:(id)sender {
466466
if (self.appSettingView.appKeyTextField.text.length > 0 && self.appSettingView.appSecretTextField.text.length == 16) {
467-
[PrivateConfig shareConfig].environment = self.settingView.environmentControl.selectedSegmentIndex;
467+
[PrivateConfig shareConfig].environment = self.appSettingView.environmentControl.selectedSegmentIndex;
468468
[[VPUPDebugSwitch sharedDebugSwitch] switchEnvironment:[PrivateConfig shareConfig].environment];
469469
[VPIConfigSDK setAppKey:self.appSettingView.appKeyTextField.text appSecret:self.appSettingView.appSecretTextField.text];
470470

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ VPInterfaceStatusNotifyDelegate ```- (void)vp_interfaceActionNotify```, 会回
149149
6. `SDK`目前支持系统为 ios8 以上。
150150
7. 存在bundle包时请将bundle包放入资源文件中,使SDK能正常调用。
151151
8. SDWebImage不兼容问题,可以在Pods的工程中VideoOS Target中添加宏VPUPSDWebImage=1解决
152+
153+
#### 常见问题
154+
155+
[VideoOS iOS SDK对接常见问题](https://os-lab.videojj.com/topic/70/ios-sdk对接常见问题)
152156

153157
## 本地化部署配置(开源版本)
154158

VideoOS.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Pod::Spec.new do |s|
44

55
s.name = "VideoOS"
6-
s.version = "1.1.0"
6+
s.version = "1.2.0"
77
s.summary = "Official VideoPls SDK for iOS to access VideoPls Platform with features like video os, and live os"
88

99
s.description = <<-DESC
@@ -36,7 +36,7 @@ Pod::Spec.new do |s|
3636
spec.public_header_files = "VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/**/*.{h}"
3737
spec.header_dir = "VideoPlsUtilsPlatformSDK"
3838
spec.dependency 'AFNetworking'
39-
spec.dependency 'SDWebImage', '~>4.2.2' #SDWebImage建议使用4.2.2,最新版本的SDWebImage会导致相同地址的gif在第二次加载时无法播放
39+
spec.dependency 'SDWebImage' #SDWebImage建议使用4.2.2,最新版本的SDWebImage会导致相同地址的gif在第二次加载时无法播放
4040
spec.dependency 'SVGAPlayer'
4141
spec.dependency 'MQTTClient'
4242
spec.xcconfig = {'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1'}

VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/VideoPlsUtilsPlatformSDK/Common/Utils/VPUPGeneralInfo.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#import "VPUPNotificationCenter.h"
1515
#import <sys/utsname.h>
1616

17-
NSString * const VideoPlsUtilsPlatformSDKVersion = @"1.1.0";
17+
NSString * const VideoPlsUtilsPlatformSDKVersion = @"1.2.0";
1818
NSString * const VPUPGeneralInfoSDKChangedNotification = @"VPUPGeneralInfoSDKChangedNotification";
1919

2020
static NSString *IDFA = nil;

0 commit comments

Comments
 (0)