From 50e21885d61b40846c3856d155033b818b00ce8e Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 14 十一月 2023 20:55:57 +0800 Subject: [PATCH] 备份 --- HDL-ON_Android/SplashActivity.cs | 2 +- HDL_ON/DAL/Server/HttpUtil.cs | 4 ++-- HDL-ON_Android/Resources/Resource.designer.cs | 2 +- HDL-ON_iOS/HDL-ON_iOS.csproj | 3 --- HDL_ON/UI/MainPage.cs | 4 ++-- HDL-ON_iOS/AppDelegate.cs | 2 +- HDL_ON/DAL/Mqtt/MqttClient.cs | 4 ++-- 7 files changed, 9 insertions(+), 12 deletions(-) diff --git a/HDL-ON_Android/Resources/Resource.designer.cs b/HDL-ON_Android/Resources/Resource.designer.cs index 485dc4b..af7c4b4 100644 --- a/HDL-ON_Android/Resources/Resource.designer.cs +++ b/HDL-ON_Android/Resources/Resource.designer.cs @@ -15,7 +15,7 @@ { - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "13.2.0.99")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "13.2.1.111")] public partial class Resource { diff --git a/HDL-ON_Android/SplashActivity.cs b/HDL-ON_Android/SplashActivity.cs index 39e931d..450ac81 100644 --- a/HDL-ON_Android/SplashActivity.cs +++ b/HDL-ON_Android/SplashActivity.cs @@ -139,7 +139,7 @@ //#endif JPushInterface.Init(this); - Com.Chteam.Agent.BuglyAgentHelper.Init(this.ApplicationContext, "316a8f5d83"); + //Com.Chteam.Agent.BuglyAgentHelper.Init(this.ApplicationContext, "316a8f5d83"); BaseActivity.OnCreateActoin += (activity, application) => diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs index 9e1a694..731a1c1 100644 --- a/HDL-ON_iOS/AppDelegate.cs +++ b/HDL-ON_iOS/AppDelegate.cs @@ -333,7 +333,7 @@ Console.WriteLine("111111111111"); SetCurrentLanguage(); //Shared.Application.FontSize = 12; - Bugly.Bugly.StartWithAppId("1dc40c170a"); + //Bugly.Bugly.StartWithAppId("1dc40c170a"); //鍙栨秷EditText榛樿瀵嗙爜杈撳叆鏂瑰紡 //Shared.Application.IsEditTextContentTypePassword = false; //榛樿浣跨敤鑻规柟瀛椾綋 diff --git a/HDL-ON_iOS/HDL-ON_iOS.csproj b/HDL-ON_iOS/HDL-ON_iOS.csproj index cacc68e..bb57d01 100644 --- a/HDL-ON_iOS/HDL-ON_iOS.csproj +++ b/HDL-ON_iOS/HDL-ON_iOS.csproj @@ -133,9 +133,6 @@ <PackageReference Include="RestSharp"> <Version>106.13.0</Version> </PackageReference> - <PackageReference Include="Xamarin.iOS.Bugly"> - <Version>1.0.4</Version> - </PackageReference> <PackageReference Include="Xamarin.Essentials"> <Version>1.7.0</Version> </PackageReference> diff --git a/HDL_ON/DAL/Mqtt/MqttClient.cs b/HDL_ON/DAL/Mqtt/MqttClient.cs index 9aa07d3..bb23288 100644 --- a/HDL_ON/DAL/Mqtt/MqttClient.cs +++ b/HDL_ON/DAL/Mqtt/MqttClient.cs @@ -891,9 +891,9 @@ static void SendPushSignOut() { byte[] message = Encoding.UTF8.GetBytes(PushSignStr); -#if DEBUG + MqttRemoteSend(message, 4); -#endif + } /// <summary> diff --git a/HDL_ON/DAL/Server/HttpUtil.cs b/HDL_ON/DAL/Server/HttpUtil.cs index 27ce5ef..0be5794 100644 --- a/HDL_ON/DAL/Server/HttpUtil.cs +++ b/HDL_ON/DAL/Server/HttpUtil.cs @@ -18,8 +18,8 @@ /// 鍥哄畾鍩熷悕,姝e紡鐜 /// 鍏叡鍩熷悕灏辫繎瑙f瀽 /// </summary> - //public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; - public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com"; + public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; + //public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com"; const string APP_KEY = "HDL-HOME-APP-TEST"; const string SECRET_KEY = "WeJ8TY88vbakCcnvH8G1tDUqzLWY8yss"; diff --git a/HDL_ON/UI/MainPage.cs b/HDL_ON/UI/MainPage.cs index 50ba13c..4c1320d 100644 --- a/HDL_ON/UI/MainPage.cs +++ b/HDL_ON/UI/MainPage.cs @@ -524,9 +524,9 @@ try { #if __ANDROID__ - Com.Chteam.Agent.BuglyAgentHelper.SetUserId(UserInfo.Current.AccountString); + //Com.Chteam.Agent.BuglyAgentHelper.SetUserId(UserInfo.Current.AccountString); #else - Bugly.Bugly.SetUserIdentifier(UserInfo.Current.AccountString); + //Bugly.Bugly.SetUserIdentifier(UserInfo.Current.AccountString); #endif } catch (Exception ex) -- Gitblit v1.8.0