firebase / firebase/firebase-admin-java
Hit error when upgrade firebase-admin 6.9.0 to 9.1.1
- 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
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