firebase / firebase/firebase-admin-java
Hit error when upgrade firebase-admin 6.9.0 to 9.1.1
- Linguagem predominante
- Java
- Estrelas
- 620
- Forks
- 305
- Merge médio
- 3h 23min
- PRs com merge (30d)
- 1
Descrição
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?
Guia de contribuição
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- firebase, java
- Domínio
- api, backend
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100