webpush-java
webpush-java copied to clipboard
How to send empty push notification ?
How can I send an empty push notification, currently it gives NPE I want to do this for compatibility with chrome versions below 49.
Can you share the stack trace of the NPE?
@MartijnDwars
One more thing I would like to highlight here, for chrome version below 49, subscription object only contains endPint and not the encryption keys. But this library always tries to encrypt, how to deal with this?
That would be a bug, thanks for reporting. Do you want to work on a PR? Otherwise, I may be able to take a look this weekend.
@MartijnDwars Cool, I would take up this PR.