| | |
| | | namespace HDL_ON_Android |
| | | { |
| | | |
| | | [BroadcastReceiver(Enabled = true, Exported = false, Name = "com.hdl.onpro.JPushFirmBroadcast")] |
| | | [BroadcastReceiver(Enabled = true, Exported = false, Name = "com.jinlu.onpro.JPushFirmBroadcast")] |
| | | [Android.App.IntentFilter(new string[] |
| | | { |
| | | "com.hdl.onpro.jpush.firm.NOTIFICATION_OPENED" |
| | | "com.jinlu.onpro.jpush.firm.NOTIFICATION_OPENED" |
| | | }, |
| | | Categories = new string[] |
| | | { |
| | |
| | | })] |
| | | class JPushFirmBroadcast : BroadcastReceiver |
| | | { |
| | | |
| | | |
| | | public override void OnReceive(Context context, Intent intent) |
| | | { |
| | |
| | | notificationMessage.NotificationExtras = extra; |
| | | |
| | | JPushReceiver.OpenNotification(context, notificationMessage); |
| | | |
| | | } |
| | | catch |
| | | { |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | | } |