You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 27, 2018. It is now read-only.
Excellent project! I was able to integrate this library with a fresh Firebase project in less than 2 hours, and my Java backend was sending push notifications!
While the notification is still sent, on version 0.9, I get an exception when calling FCMClient.send() function (this exception does not appear on 0.8).
Here is the code that triggers the exception (IFCMClientSettings & PersonData are copied from the readme):
Note, I get the same exception when using NotificationMutlicast and TopicMutlicast as well.
The relevant stack trace:
Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Attempted read from closed stream.
at de.bytefish.fcmjava.client.http.HttpClient.post(HttpClient.java:63)
at de.bytefish.fcmjava.client.FcmClient.post(FcmClient.java:99)
at de.bytefish.fcmjava.client.FcmClient.send(FcmClient.java:55)
A side question: should I opt for 0.8 over 0.9? What bugs were fixed with 0.9? I could not find a changelog.