From 1cd93851bde6ec19c07f1445899a76ab0dfa507d Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期四, 13 四月 2023 16:01:53 +0800 Subject: [PATCH] 1.增加推送判断是否加载了类的方法 2.修改launch screen引用 3.去掉门锁测试环境appkey逻辑 --- HDL-ON_Android/SplashActivity.cs | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/HDL-ON_Android/SplashActivity.cs b/HDL-ON_Android/SplashActivity.cs index 07a8b17..7b9abca 100644 --- a/HDL-ON_Android/SplashActivity.cs +++ b/HDL-ON_Android/SplashActivity.cs @@ -60,6 +60,7 @@ Language.CurrentLanguage = "Chinese"; Locale locale1 = Locale.Default; var localeList = Resources.Configuration.Locale; + Console.WriteLine("褰撳墠璇█缂╁啓:"+localeList.Language); if (localeList.Language == "zh") { Language.CurrentLanguage = "Chinese"; @@ -107,6 +108,9 @@ //CN.Jpush.Android.Api.JPushInterface.SetDebugMode(true); //#endif JPushInterface.Init(this); + + Com.Chteam.Agent.BuglyAgentHelper.Init(this.ApplicationContext, "316a8f5d83"); + BaseActivity.OnCreateActoin += (activity, application) => @@ -203,7 +207,7 @@ //} //else //{ - // Console.WriteLine("HHH 缃戠粶鍙樺寲浣嗗浜庡悗鍙�"); + //Console.WriteLine("HHH 缃戠粶鍙樺寲浣嗗浜庡悗鍙�"+internetStatus); //} //缃戠粶鍙樺寲澶勭悊 -- Gitblit v1.8.0