This commit is contained in:
andrew 2023-07-27 13:53:33 +09:30
parent 7be1f092f9
commit d1e22ca369

View File

@ -17,8 +17,7 @@ class HuaweiPushNotificationService: HmsMessageService() {
pushManager.refresh(true) pushManager.refresh(true)
} }
override fun onMessageReceived(message: RemoteMessage?) { override fun onMessageReceived(message: RemoteMessage?) {
TODO("Huawei works!") pushHandler.onPush(message?.dataOfMap)
// pushHandler.onPush(message?.dataOfMap)
} }
override fun onDeletedMessages() { override fun onDeletedMessages() {
pushManager.refresh(true) pushManager.refresh(true)