From ba275a7b58e56c61820ffccc86571447b2997e52 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 05 八月 2021 16:18:00 +0800 Subject: [PATCH] 2021-08-05 1.更新 --- 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..ecb3682 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