wxr
2021-02-23 34d49c20c2c2543658e844847c5eaa87f4c954e9
HDL-ON_iOS/AppDelegate.cs
@@ -202,7 +202,7 @@
        {
            Console.WriteLine("OnActivated");
            base.OnActivated(application);
            HDL_ON.DriverLayer.Control.Ins.SearchLoaclGateway();
            //HDL_ON.DriverLayer.Control.Ins.SearchLoaclGateway();
            //if (haveToSignOut == true)
            //{
@@ -221,7 +221,7 @@
            //Bugly.Bugly.StartWithAppId("b58fb35436");
            //取消EditText默认密码输入方式
            Shared.Application.IsEditTextContentTypePassword = false;
            //Shared.Application.IsEditTextContentTypePassword = false;
            //默认使用苹方字体
            Shared.Application.IsUsePingFang = true;
            //保持屏幕常亮或者自动锁屏
@@ -232,7 +232,8 @@
            Window.RootViewController = rootViewController;
            Window.MakeKeyAndVisible();
            //AppCenter.Start("e1add75a-82c6-4a5c-a902-4705b195748e",typeof(Analytics), typeof(Crashes));
            AppCenter.Start("e1add75a-82c6-4a5c-a902-4705b195748e", typeof(Analytics), typeof(Crashes));
            base.FinishedLaunching(application, launchOptions);
            SharedMethod.SharedMethod.sharedApp = application;
@@ -281,6 +282,11 @@
            //Harpy.Harpy.SharedInstance.AlertType = Harpy.HarpyAlertType.Skip;
            //Harpy.Harpy.SharedInstance.DebugEnabled = false;
            //Harpy.Harpy.SharedInstance.ForceLanguageLocalization = Harpy.Constants.HarpyLanguageChineseSimplified;
            //中文国内key、英文海外key
            EZSDK.IOS.EZSDK.InitLibWithAppKey("1aa98a90489b4838b966b57018b4b04b", "1aa98a90489b4838b966b57018b4b04b");
            Console.WriteLine("FinishedLaunching");
            return true;
        }
@@ -414,7 +420,7 @@
            if (CloseTime.AddSeconds(10) < DateTime.Now)
            {
                //后台超过10s就断开MQTT重连
                if (HDL_ON.DriverLayer.Control.Ins.IsRemote)
                //if (HDL_ON.DriverLayer.Control.Ins.IsRemote)
                {
                    HDL_ON.DAL.Mqtt.MqttClient.DisConnectRemote("closeTime", false);
                }