Open icycoolnss opened 1 year ago
Tried even without payload still no luck :(
Same issue. Tried command line and java implementation. Same error. Tested all the same keys with node web-push and it works fine. Any ideas?
Figured it out for chrome needed to encode as follows pushService.send(notification, Encoding.AES128GCM);
This happens also for IOs final devices. I tried to change the default encoding as @jcpearce mentioned, but continued receiving the same problem. Now, trying to reproduce the HTTP POST request over the Apple APN itself using the javascript variant result in a success push notification. Considering this, anyone detected a difference between the encryption on Java and Javascript?
BUILD SUCCESSFUL in 2s 2 actionable tasks: 1 executed, 1 up-to-date