From 5017131971e6ac8f31adc2ed1e25583738b420a2 Mon Sep 17 00:00:00 2001 From: Tong <1025782220@qq.com> Date: 星期一, 06 九月 2021 13:18:00 +0800 Subject: [PATCH] 删除启动页Label --- HDL-ON_Android/Application.cs | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/HDL-ON_Android/Application.cs b/HDL-ON_Android/Application.cs index a8d7ef5..7a4f0db 100644 --- a/HDL-ON_Android/Application.cs +++ b/HDL-ON_Android/Application.cs @@ -85,7 +85,8 @@ } catch (Exception ex) { - Console.WriteLine(ex.Message); + MainPage.Log(ex.Message); + BaseActivity.VerifyDateTime = DateTime.MaxValue; } }; @@ -103,7 +104,6 @@ { Language.CurrentLanguage = "English"; } - //鑾峰彇鏋佸厜鎺ㄩ�両D GetJPushRegistrationID(activity); @@ -128,8 +128,6 @@ //缃戠粶鍙樺寲澶勭悊 HDLCommon.Current.UpdateInternetStatus((int)internetStatus, MainPage.IsEnterBackground); }; - //寮�鍚畾浣嶆湇鍔� - Shared.Application.StartGPSLocationService(); }; BaseActivity.RefreshUIAction += (activity) => { @@ -228,9 +226,9 @@ { //鎵嬫満鍚嶇О Android.OS.Build.Manufacturer; //OnAppConfig.Instance.PhoneName = Android.OS.Build.Manufacturer; -#if DEBUG - CN.Jpush.Android.Api.JPushInterface.SetDebugMode(true); -#endif + //#if DEBUG + //CN.Jpush.Android.Api.JPushInterface.SetDebugMode(true); + //#endif CN.Jpush.Android.Api.JPushInterface.Init(this); } -- Gitblit v1.8.0