firebase / firebase/firebase-admin-java

Hit error when upgrade firebase-admin 6.9.0 to 9.1.1

Đang mở
#797 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
needs-triage
Ngôn ngữ chính
Java
Star
620
Fork
305
Merge trung bình
3 giờ 23 phút
Pull request đã merge (30 ngày)
1

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
firebase, java
Lĩnh vực
api, backend
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.