Commit 372823f0 by pierce

fixed 首次安装,图片都不显示的问题

parent 24a47b37
......@@ -11,6 +11,8 @@ import GDRouter
import Bifrost
@objc public class GDHostManagerModule: NSObject, GDHostManagerSwiftRouter {
var disposeBag = DisposeBag()
@objc public func loginSuccessSetup() {
}
......@@ -68,6 +70,11 @@ extension GDHostManagerModule: BifrostModuleProtocol {
public func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
// 检查各地址信息
GDHostManager.shared.checkCurrentDNSAdress()
GDNetworkStatus.shared.isConnect.distinctUntilChanged().subscribe(onNext: { isConnect in
if isConnect == true {
GDHostManager.shared.checkCurrentDNSAdress()
}
}).disposed(by: disposeBag)
return true
}
......
......@@ -21,6 +21,7 @@
BE51BA722B50070700D11735 /* HostManager.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BEFDEDDF2B4417BC0056254C /* HostManager.framework */; };
BE51BA742B50070A00D11735 /* MetalPerformanceShaders.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BE352CEA299CD01C00FE07AB /* MetalPerformanceShaders.framework */; };
BE7C4ACB2BD27F210052EC70 /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BE7C4ACA2BD27F210052EC70 /* StoreKit.framework */; };
BE7C4ACC2BD79A6E0052EC70 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = BE025E132BB2B49500FF27CD /* PrivacyInfo.xcprivacy */; };
BE8042D52B5B800E00E2FCB4 /* GDPersonalModule.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BE8042D42B5B800E00E2FCB4 /* GDPersonalModule.framework */; };
BE80EBBD2B58D43700FA0245 /* GDUserZoneBundle.bundle in Embed PlugIns */ = {isa = PBXBuildFile; fileRef = BE79F6022B57B990001E382C /* GDUserZoneBundle.bundle */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
BE80EC102B592ACB00FA0245 /* GDPayment.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BE80EC0F2B592ACB00FA0245 /* GDPayment.framework */; };
......@@ -322,6 +323,7 @@
files = (
3888D63329407F5F00807031 /* LaunchScreen.storyboard in Resources */,
BE83C5642B8DC32200C040E0 /* LaunchScreenImage.png in Resources */,
BE7C4ACC2BD79A6E0052EC70 /* PrivacyInfo.xcprivacy in Resources */,
3888D63029407F5F00807031 /* Assets.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
......
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 sign in to comment