firebase / firebase/firebase-admin-java

Hit error when upgrade firebase-admin 6.9.0 to 9.1.1

未关闭
#797 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
needs-triage
主要语言
Java
星标
620
派生
305
平均合并
3 小时 23 分钟
30 天内合并 PR
1

描述

Dear All,

I would like to ask you, after we upgrade firebase admin to the latest version, its hit this error

Exception in thread "main" java.lang.NoSuchMethodError: com.google.firebase.messaging.Notification.(Ljava/lang/String;Ljava/lang/String;)V
at com.ebworx.helper.notification.service.FCMService.sendMessageToMultipleDeviceSync(FCMService.java:155)
at com.ebworx.batch.result.PushNotificationSendProcessResultJob.pushNotificationToDevice(PushNotificationSendProcessResultJob.java:92)
at com.ebworx.batch.result.PushNotificationSendProcessResultJob.manageResultJob(PushNotificationSendProcessResultJob.java:62)
at com.ebworx.batch.result.AbstractProcessResultJob.processResultJob(AbstractProcessResultJob.java:36)
at com.ebworx.batch.controller.AbstractWorkerController.processWork(AbstractWorkerController.java:389)
at com.ebworx.batch.controller.PushNotificationSendController.main(PushNotificationSendController.java:101)

may i know what method that different from version 6.9.0 to 9.1.1?

贡献指南

打开贡献指南

调研方向

Start with the NoSuchMethodError at FCMService.java:155 and compare the Firebase Admin SDK versions used by the application. Review the notification call against the 6.9.0-to-9.1.1 upgrade, then verify the dependency set and confirm that the push-notification job runs without the linkage error.

由索引模型根据 Issue 内容生成。

评估

技术栈
firebase, java
领域
api, backend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。