From 26d1cdf2f5246c1ad7890e6740444c4a6a80e6fb Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期二, 11 八月 2020 13:21:10 +0800 Subject: [PATCH] 合并了新代码 --- ZigbeeApp/Home.Ios/AppDelegate.cs | 19 ++++++++++++------- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/ZigbeeApp/Home.Ios/AppDelegate.cs b/ZigbeeApp/Home.Ios/AppDelegate.cs old mode 100755 new mode 100644 index 5f7c60e..8fad469 --- a/ZigbeeApp/Home.Ios/AppDelegate.cs +++ b/ZigbeeApp/Home.Ios/AppDelegate.cs @@ -1,4 +1,4 @@ -锘縰sing System; +锘縰sing System; using Foundation; using Microsoft.AppCenter; using Microsoft.AppCenter.Analytics; @@ -57,10 +57,10 @@ if (!string.IsNullOrEmpty(hiddenJson)) { if (hiddenJson.Contains("cmtID")) - { - - ///鐩墠鏍规嵁杩欎釜鍒ゆ柇鏄惁鏄彲瑙嗗璁叉暟鎹� - // VideoMethod(hiddenJson); + { + + ///鐩墠鏍规嵁杩欎釜鍒ゆ柇鏄惁鏄彲瑙嗗璁叉暟鎹� + // VideoMethod(hiddenJson); } else { @@ -87,8 +87,8 @@ } } } - - + + } } @@ -96,6 +96,7 @@ } AppCenter.Start("0ca801a2-742b-42fb-ba10-7ba4391371aa", typeof(Analytics), typeof(Crashes)); GDMapKit.setGDApiKey("866fae25f336bc8d9a79b1d19267fffb");//楂樺痉鍦板浘key + return true; } @@ -275,6 +276,10 @@ public override void WillEnterForeground(UIApplication application) { + var internetStatus = GateWay.Ios.Reachability.InternetConnectionStatus(); + Shared.Phone.UserCenter.HdlWifiLogic.Current.NetworkStateChanged((int)internetStatus); + + //ZigBee.Common.Application.FindGateWaySocket.Start(); // Called as part of the transiton from background to active state. // Here you can undo many of the changes made on entering the background. System.Console.WriteLine("WillEnterForeground"); -- Gitblit v1.8.0