Commit 2c6b2f12 authored by David黄金龙's avatar David黄金龙

Merge branch 'main' into develop

* main:
  1、修改版本号0.5.0.8 2、启动代码优化
parents bd7b225d 25d02a57
......@@ -3049,7 +3049,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 7;
CURRENT_PROJECT_VERSION = 8;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
......@@ -3255,7 +3255,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 7;
CURRENT_PROJECT_VERSION = 8;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
......@@ -3303,7 +3303,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 7;
CURRENT_PROJECT_VERSION = 8;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
......
......@@ -23,10 +23,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
//全局导航栏、返回事件/手势
setupNavBar()
//1.设置主窗口
setupRootVC()
//2.通用UI设置
setupWholeUI()
......@@ -36,6 +32,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
//4.本地用户信息加载
YHLoginManager.shared.loadLocalUserInfoData()
YHConfigManager.shared.loadConfigData()
//1.设置主窗口
setupRootVC()
return true
}
......@@ -57,35 +56,38 @@ extension AppDelegate {
//
private func thirdSetting() -> Void {
DispatchQueue.global().async {
//1.数据解析
// DispatchQueue.main.async {
//1.数据解析
#if DEBUG
SmartConfig.debugMode = .none
SmartConfig.debugMode = .none
#elseif TESTNEV
SmartConfig.debugMode = .none
#else
SmartConfig.debugMode = .none
SmartConfig.debugMode = .none
#endif
//2.bugly参数设置
//2.bugly参数设置
#if DEBUG
Bugly.start(withAppId: "3b10faa43e")
Bugly.start(withAppId: "3b10faa43e")
#elseif TESTNEV
Bugly.start(withAppId: "3b10faa43e")
#else
Bugly.start(withAppId: "5dc2acc53e")
Bugly.start(withAppId: "5dc2acc53e")
#endif
if !Device.current.isSimulator {
//3.一键登录
let handler = TXCommonHandler.sharedInstance()
handler.setAuthSDKInfo(YhConstant.Alipay.kAliOnePressPhoneLoginKey) { [weak self] dic in
guard self != nil else { return }
print("Ali Cloud login completed : /(dic) " )
}
}
}
// if !Device.current.isSimulator {
// //3.一键登录
// let handler = TXCommonHandler.sharedInstance()
// handler.setAuthSDKInfo(YhConstant.Alipay.kAliOnePressPhoneLoginKey) { [weak self] dic in
//
// guard self != nil else { return }
// print("Ali Cloud login completed : /(dic) " )
//
// }
// }
// }
}
//2.通用全局UI设置相关
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment