From df3af70b33eb6372b56075bc9e45c23ccf3f82c6 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期二, 28 十月 2025 17:40:38 +0800
Subject: [PATCH] 2025.10.28 1. 新增巡查场景历史详情界面出版(完成); 2. 巡查任务日历界面,任务条目中新增风险提示、巡查要点、应急巡查3种提示信息的提示图标逻辑(待完成);
---
app/src/main/java/cn/flightfeather/thirdappmodule/util/push/MyMessageReceiver.kt | 144 ++++++++++++++++++++++++------------------------
1 files changed, 72 insertions(+), 72 deletions(-)
diff --git a/app/src/main/java/cn/flightfeather/thirdappmodule/util/push/MyMessageReceiver.kt b/app/src/main/java/cn/flightfeather/thirdappmodule/util/push/MyMessageReceiver.kt
index d075624..892e5bc 100644
--- a/app/src/main/java/cn/flightfeather/thirdappmodule/util/push/MyMessageReceiver.kt
+++ b/app/src/main/java/cn/flightfeather/thirdappmodule/util/push/MyMessageReceiver.kt
@@ -1,72 +1,72 @@
-package cn.flightfeather.thirdappmodule.util.push
-
-import android.content.Context
-import android.util.Log
-import com.alibaba.sdk.android.push.MessageReceiver
-import com.alibaba.sdk.android.push.notification.CPushMessage
-
-/**
- * 闃块噷浜戞帹閫佹秷鎭帴鏀�
- * @author riku
- * Date: 2019/12/26
- */
-class MyMessageReceiver : MessageReceiver() {
- companion object {
- // 娑堟伅鎺ユ敹閮ㄥ垎鐨凩OG_TAG
- const val REC_TAG = "MyMessageReceiver"
- }
-
- override fun onNotification(
- context: Context?,
- title: String?,
- summary: String?,
- extraMap: Map<String, String>?
- ) {
- // TODO 澶勭悊鎺ㄩ�侀�氱煡
- Log.e(REC_TAG, "Receive notification, title: $title, summary: $summary, extraMap: $extraMap")
- }
-
- override fun onMessage(context: Context?, cPushMessage: CPushMessage) {
- Log.e(
- REC_TAG,
- "onMessage, messageId: " + cPushMessage.messageId + ", title: " + cPushMessage.title + ", content:" + cPushMessage.content
- )
-
-
- }
-
- override fun onNotificationOpened(context: Context?, title: String?, summary: String?, extraMap: String?) {
- Log.e(REC_TAG, "onNotificationOpened, title: $title, summary: $summary, extraMap:$extraMap")
- }
-
- override fun onNotificationClickedWithNoAction(
- context: Context?,
- title: String?,
- summary: String?,
- extraMap: String?
- ) {
- Log.e(
- REC_TAG,
- "onNotificationClickedWithNoAction, title: $title, summary: $summary, extraMap:$extraMap"
- )
- }
-
- override fun onNotificationReceivedInApp(
- context: Context?,
- title: String?,
- summary: String?,
- extraMap: Map<String, String>?,
- openType: Int,
- openActivity: String?,
- openUrl: String?
- ) {
- Log.e(
- REC_TAG,
- "onNotificationReceivedInApp, title: $title, summary: $summary, extraMap:$extraMap, openType:$openType, openActivity:$openActivity, openUrl:$openUrl"
- )
- }
-
- override fun onNotificationRemoved(context: Context?, messageId: String?) {
- Log.e(REC_TAG, "onNotificationRemoved")
- }
-}
\ No newline at end of file
+//package cn.flightfeather.thirdappmodule.util.push
+//
+//import android.content.Context
+//import android.util.Log
+//import com.alibaba.sdk.android.push.MessageReceiver
+//import com.alibaba.sdk.android.push.notification.CPushMessage
+//
+///**
+// * 闃块噷浜戞帹閫佹秷鎭帴鏀�
+// * @author riku
+// * Date: 2019/12/26
+// */
+//class MyMessageReceiver : MessageReceiver() {
+// companion object {
+// // 娑堟伅鎺ユ敹閮ㄥ垎鐨凩OG_TAG
+// const val REC_TAG = "MyMessageReceiver"
+// }
+//
+// override fun onNotification(
+// context: Context?,
+// title: String?,
+// summary: String?,
+// extraMap: Map<String, String>?
+// ) {
+// // TODO 澶勭悊鎺ㄩ�侀�氱煡
+// Log.e(REC_TAG, "Receive notification, title: $title, summary: $summary, extraMap: $extraMap")
+// }
+//
+// override fun onMessage(context: Context?, cPushMessage: CPushMessage) {
+// Log.e(
+// REC_TAG,
+// "onMessage, messageId: " + cPushMessage.messageId + ", title: " + cPushMessage.title + ", content:" + cPushMessage.content
+// )
+//
+//
+// }
+//
+// override fun onNotificationOpened(context: Context?, title: String?, summary: String?, extraMap: String?) {
+// Log.e(REC_TAG, "onNotificationOpened, title: $title, summary: $summary, extraMap:$extraMap")
+// }
+//
+// override fun onNotificationClickedWithNoAction(
+// context: Context?,
+// title: String?,
+// summary: String?,
+// extraMap: String?
+// ) {
+// Log.e(
+// REC_TAG,
+// "onNotificationClickedWithNoAction, title: $title, summary: $summary, extraMap:$extraMap"
+// )
+// }
+//
+// override fun onNotificationReceivedInApp(
+// context: Context?,
+// title: String?,
+// summary: String?,
+// extraMap: Map<String, String>?,
+// openType: Int,
+// openActivity: String?,
+// openUrl: String?
+// ) {
+// Log.e(
+// REC_TAG,
+// "onNotificationReceivedInApp, title: $title, summary: $summary, extraMap:$extraMap, openType:$openType, openActivity:$openActivity, openUrl:$openUrl"
+// )
+// }
+//
+// override fun onNotificationRemoved(context: Context?, messageId: String?) {
+// Log.e(REC_TAG, "onNotificationRemoved")
+// }
+//}
\ No newline at end of file
--
Gitblit v1.9.3