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 |   18 +++++++-----------
 1 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/HDL-ON_Android/Other/JPush/JPushOpenClickActivity.cs b/HDL-ON_Android/Other/JPush/JPushOpenClickActivity.cs
index 66ac1ca..ffde762 100644
--- a/HDL-ON_Android/Other/JPush/JPushOpenClickActivity.cs
+++ b/HDL-ON_Android/Other/JPush/JPushOpenClickActivity.cs
@@ -2,45 +2,42 @@
 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
     {
-
-
         protected override void OnCreate(Bundle savedInstanceState)
         {
             base.OnCreate(savedInstanceState);
             View v = new View(this);
             SetContentView(v);
             HandleOpenClick(Intent);
-
         }
 
         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();
 
         }
@@ -49,7 +46,6 @@
         {
             base.OnNewIntent(intent);
             HandleOpenClick(intent);
-
         }
     }
 }
\ No newline at end of file

--
Gitblit v1.8.0