From 374a2b0c6b3efb40e8aea784d48b5bf54d6e1ddb Mon Sep 17 00:00:00 2001 From: Davin <591807572@qq.com> Date: 星期五, 21 七月 2023 15:26:41 +0800 Subject: [PATCH] feature naviStatusHeight --- HDL_ON/UI/MainPage.cs | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/MainPage.cs b/HDL_ON/UI/MainPage.cs index c9bf8be..a237a77 100644 --- a/HDL_ON/UI/MainPage.cs +++ b/HDL_ON/UI/MainPage.cs @@ -223,7 +223,7 @@ #if __ANDROID__ new System.Threading.Thread(async () => { - int i = 0; + int i = 10; while (i < 10) { try { @@ -505,6 +505,19 @@ } }).Start(); + + try + { +#if __ANDROID__ + Com.Chteam.Agent.BuglyAgentHelper.SetUserId(UserInfo.Current.AccountString); +#else + Bugly.Bugly.SetUserIdentifier(UserInfo.Current.AccountString); +#endif + } + catch (Exception ex) + { + MainPage.Log("Bugly error"); + } } /// <summary> -- Gitblit v1.8.0