From a4534a17ec23a4effce2df59d9bd297a313c8168 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期五, 19 七月 2024 17:55:32 +0800 Subject: [PATCH] 极光推送Sdk更新,不支持厂商 --- HDL-ON_Android/Other/JPush/JPushOpenClickActivity.cs | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/HDL-ON_Android/Other/JPush/JPushOpenClickActivity.cs b/HDL-ON_Android/Other/JPush/JPushOpenClickActivity.cs index b974874..ffde762 100644 --- a/HDL-ON_Android/Other/JPush/JPushOpenClickActivity.cs +++ b/HDL-ON_Android/Other/JPush/JPushOpenClickActivity.cs @@ -2,19 +2,19 @@ using Android.Content; using Android.OS; -using Com.Hdl.ON.Jpush.Androidjpush; +//using Com.Hdl.ON.Jpush.Androidjpush; using Android.Views; namespace HDL_ON_Android { [Activity( - Exported = true, Enabled = true, Name = "com.hdl.onpro.JPushOpenClickActivity" + Exported = true, Enabled = true, Name = "com.jinlu.onpro.JPushOpenClickActivity" , Theme = "@android:style/Theme.Translucent.NoTitleBar")] - [IntentFilter(new string[] { "com.hdl.onpro.JPushOpenClickActivity", Intent.ActionView }, + [IntentFilter(new string[] { "com.jinlu.onpro.JPushOpenClickActivity", Intent.ActionView }, Categories = new string[] { - "com.hdl.onpro",Intent.CategoryDefault + "com.jinlu.onpro",Intent.CategoryDefault }) ] public class JPushOpenClickActivity : Activity @@ -30,14 +30,14 @@ protected void HandleOpenClick(Intent intent) { Intent broadcastIntent = new Intent(); - broadcastIntent.SetAction("com.hdl.onpro.jpush.firm.NOTIFICATION_OPENED"); - ComponentName componentName = new ComponentName(PackageName, "com.hdl.onpro.JPushFirmBroadcast"); + broadcastIntent.SetAction("com.jinlu.onpro.jpush.firm.NOTIFICATION_OPENED"); + ComponentName componentName = new ComponentName(PackageName, "com.jinlu.onpro.JPushFirmBroadcast"); if (Build.VERSION.SdkInt >= BuildVersionCodes.O) { broadcastIntent.SetComponent(componentName); } - FirmOpenClickHelper.Instance.HandleOpenClick(this, intent, broadcastIntent); + //FirmOpenClickHelper.Instance.HandleOpenClick(this, intent, broadcastIntent); Finish(); } -- Gitblit v1.8.0