From 88bc527c36eee5e8c525b1b1e311caa7c2e69789 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期五, 12 七月 2024 11:49:17 +0800 Subject: [PATCH] 版本号 --- HDL-ON_Android/SplashActivity.cs | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/HDL-ON_Android/SplashActivity.cs b/HDL-ON_Android/SplashActivity.cs index 7893e37..256c620 100644 --- a/HDL-ON_Android/SplashActivity.cs +++ b/HDL-ON_Android/SplashActivity.cs @@ -10,7 +10,7 @@ using Android.Support.V4.Content; using CN.Jpush.Android.Api; //using Android.Widget; -using Com.Hdl.ON.Jpush.Androidjpush; +//using Com.Hdl.ON.Jpush.Androidjpush; using HDL_ON; using Java.Util; using Shared; @@ -144,11 +144,10 @@ //OnAppConfig.Instance.PhoneName = Android.OS.Build.Manufacturer; #if DEBUG CN.Jpush.Android.Api.JPushInterface.SetDebugMode(true); + CN.Jiguang.Api.Utils.JCollectionAuth.SetAuth(this, true); #endif JPushInterface.Init(this); - Com.Chteam.Agent.BuglyAgentHelper.Init(this.ApplicationContext, "316a8f5d83"); - BaseActivity.OnCreateActoin += (activity, application) => { @@ -349,7 +348,7 @@ { //淇濆瓨鑾峰彇鐨勬瀬鍏夋湇鍔″櫒涓婄殑娉ㄥ唽ID鍒版湰鍦版枃浠� var tokenID = JPushInterface.GetRegistrationID(activity); - Console.WriteLine("RegistrationID: " + tokenID); + Console.WriteLine("鏋佸厜娉ㄥ唽id: " + tokenID); if (!string.IsNullOrEmpty(tokenID) && OnAppConfig.Instance.PushDeviceToken != tokenID) { OnAppConfig.Instance.PushDeviceToken = tokenID; @@ -370,7 +369,7 @@ break; } } - Console.WriteLine("RegistrationID: " + tokenID); + Console.WriteLine("鏋佸厜娉ㄥ唽id: " + tokenID); if (!string.IsNullOrEmpty(tokenID) && OnAppConfig.Instance.PushDeviceToken != tokenID) { OnAppConfig.Instance.PushDeviceToken = tokenID; -- Gitblit v1.8.0