From dc9a1b15bb69227e19afc070adf58156a362d2a2 Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期一, 30 九月 2024 17:07:58 +0800
Subject: [PATCH] 安卓可视对讲响铃,

---
 HDL-ON_iOS/AppDelegate.cs |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs
index e740d00..a6a7280 100644
--- a/HDL-ON_iOS/AppDelegate.cs
+++ b/HDL-ON_iOS/AppDelegate.cs
@@ -271,14 +271,14 @@
             AppDomain.CurrentDomain.UnhandledException += (sender, e) => {
                 if(e.ExceptionObject is Exception exception)
                 {
-                    MainPage.Log("error","鏈鐞嗙殑寮傚父锛�" + exception.Message);
+                    MainPage.Log("error", "鏈鐞嗙殑寮傚父锛�" + exception.Message + "StackTrace: " + exception.StackTrace);
                 }
             };
 
             TaskScheduler.UnobservedTaskException += (sender, e) => {
                 if (e.Exception is Exception exception)
                 {
-                    MainPage.Log("error", "鏈鐞嗙殑寮傚父锛�" + exception.Message);
+                    MainPage.Log("error", "鏈鐞嗙殑寮傚父锛�" + exception.Message + "StackTrace: " + exception.StackTrace);
                 }
             };
             #endregion
@@ -291,7 +291,7 @@
             //{
             //    Shared.IOS.HDLFVSDK.Video.FVapplication(application, new NSDictionary());
             //}
-            Console.WriteLine("111111111111");
+            //Console.WriteLine("111111111111");
             SetCurrentLanguage();
             //Shared.Application.FontSize = 12;
             //Bugly.Bugly.StartWithAppId("1dc40c170a");
@@ -410,9 +410,8 @@
                         {
                             if (pushMes.Extras.Contains("OffLine"))
                             {
-                                //haveToSignOut = true;
                                 //寮哄埗涓嬬嚎
-                                UserInfo.Current.LastTime = DateTime.MinValue;
+                                UserInfo.Current.ValidToken = false;
                                 UserInfo.Current.headImagePagePath = "LoginIcon/2.png";//閲嶇疆鐢ㄦ埛澶村儚
                                 UserInfo.Current.SaveUserInfo();
                                 HDLCommon.Current.ShowAlert(Language.StringByID(StringId.LoggedOnOtherDevices));

--
Gitblit v1.8.0