webpush-java icon indicating copy to clipboard operation
webpush-java copied to clipboard

Web Push library for Java

Results 63 webpush-java issues
Sort by recently updated
recently updated
newest added

Removed padding char as spec https://datatracker.ietf.org/doc/html/draft-ietf-webpush-vapid-01#section-4 for the passing of the Crypto-Key header. Google fire base backends does not support the padding, firefox does.

When we was change PushService by PushAsyncService to send web push notification, we detected that request not pass thorugh proxy. Can you help us with this problem? Java version: 11.0.12...

Hello! I am curious if I can use this library also in react? I saw this tutorial: https://dev.to/marcushellberg/how-to-send-web-push-notifications-in-java-21lo but he is using vaadin project. If anyone know, I would appreciate...

pushService.setPrivateKey(privateKey); pushService.setPublicKey(publicKey); This made my code working Also don't forget to convert the payload to json string

I'm getting this error using the CLI send-notification :+1: ``` java.security.InvalidKeyException: Not an EC key: ECDH at sun.security.ec.ECKeyFactory.checkKey(ECKeyFactory.java:121) at sun.security.ec.ECKeyFactory.toECKey(ECKeyFactory.java:90) at sun.security.ec.ECDHKeyAgreement.engineInit(ECDHKeyAgreement.java:67) at javax.crypto.KeyAgreement.implInit(KeyAgreement.java:346) at javax.crypto.KeyAgreement.chooseProvider(KeyAgreement.java:378) at javax.crypto.KeyAgreement.init(KeyAgreement.java:470) at javax.crypto.KeyAgreement.init(KeyAgreement.java:441)...

I am using library version 5.0.2 I get the following error `org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey cannot be cast to org.bouncycastle.jce.interfaces.ECPublicKey` when I try and instantiate the Notification class at runtime. In my setup,...

Hi, we have implemented Java Push feature in our app server JBoss-EAP 7.3, Java 11. There is a customer whose users cannot receive push notifications in the Chrome browser. Although...

I get the below certificate issue when I try to use the PushService API class to send out push notifications to Firefox browser, whereas the webpush library works fine with...

As per the VAPID spec (https://tools.ietf.org/html/rfc8292#section-2) > An "aud" (Audience) claim in the token MUST include the Unicode serialization of the origin (Section 6.1 of [RFC6454]) of the push resource...

I am Getting "java.lang.NoSuchMethodError: org.bouncycastle.util.BigIntegers.fromUnsignedByteArray" Error. Can you please tell which version of bouncycastle is recommended for 5.1.0 webpush-java. I have tried 1.60 to 1.64. Nothing seems to be working...