From 46a03f3b19b39cfa6e00b7af41c1ef90ae812e26 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 10 七月 2023 16:47:46 +0800
Subject: [PATCH] Update HdlEzvizDroid.dll

---
 HDL_ON/Common/HDLCommon.cs |   26 ++++++++++++++++++++------
 1 files changed, 20 insertions(+), 6 deletions(-)

diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs
index 42a0b9a..14d03fa 100644
--- a/HDL_ON/Common/HDLCommon.cs
+++ b/HDL_ON/Common/HDLCommon.cs
@@ -258,6 +258,8 @@
         {
             try
             {
+                MainPage.Log($"鎺ユ敹鍒版帹閫�");
+
                 //Extras涓虹┖涓嶅鐞�
                 if (string.IsNullOrEmpty(jpushMessageInfo.Extras)) return;
 
@@ -396,6 +398,7 @@
                         HDL_ON.UI.UI2.FuntionControlView.VideoDoorLock.CommonMethod.Current.DoorLockPush(jpushMessageInfo);
                     }
 
+                   
                 }
             }
             catch (Exception EX)
@@ -433,10 +436,21 @@
         /// </summary>
         public void CheckLogout()
         {
+#if __IOS__
+            try{
+                HDL_ON_iOS.AppDelegate.rootViewController.PopToRootViewController(false);
+            }catch(Exception ex){
+                MainPage.Log($"鍥炲埌璺熺被澶辫触:{ex.Message}");
+            }
+#else
+            //Application.Activity.StartActivity()
+#endif
+
             //娴嬭瘯璐﹀彿锛屼笉鎸や笅绾�
             switch (UserInfo.Current.AccountString)
             {
                 case "464027401@qq.com":
+                case "13580507523":
                 case "15626203746":
                     return;
             }
@@ -483,7 +497,7 @@
 
 #if __IOS__
                     //5.鍏ㄨ閫氱櫥鍑�
-                    Shared.IOS.HDLFVSDK.Video.Logout();
+                    //Shared.IOS.HDLFVSDK.Video.Logout();
                     //6.娓呯┖Siri鍏变韩鏁版嵁淇℃伅
                     new Other.SkipControl().SetData(false, "", "", "", "");
                     var sDM = new SiriKit.SceneDateManager();
@@ -591,9 +605,9 @@
 
         }
 
-        #endregion
+#endregion
 
-        #region 鈻� 甯哥敤鏂规硶_______________________
+#region 鈻� 甯哥敤鏂规硶_______________________
         /// <summary>
         /// 璁剧疆涓嬪垝绾挎寜閽姸鎬�
         /// 缁熶竴灏佽璁剧疆鏂规硶
@@ -668,9 +682,9 @@
                 Control.Ins.SearchLoaclGateway();
             }
         }
-        #endregion
+#endregion
 
-        #region 璺宠浆鎵撳紑钀ょ煶浜戞柟娉�
+#region 璺宠浆鎵撳紑钀ょ煶浜戞柟娉�
 
         /// <summary>
         /// 鑾峰彇瀛愯处鍙穞oken骞惰烦杞澶囧垪琛ㄩ〉闈�
@@ -791,6 +805,6 @@
             { IsBackground = true }.Start();
         }
 
-        #endregion
+#endregion
     }
 }

--
Gitblit v1.8.0