Have you been able to also get this working on a mobile PWA on iOS/Safari ? I have struggled to get this working. I do have it working with Android/Chrome. When I send the notification to a https://web.push.apple.com/… endpoint, I’m getting the following response:
Thank you soooo much, @kriss! That did it. Just adding a mailto as the subject was magic. Its amazing that APNs was returning a 403 Forbidden with no other help diagnosing the issue. Wow! Anyway, I really appreciate your help. I know this wasn’t a vaddin/hilla issue, but you helped out anyway.
Glad that it work
Another thing I suspected was: Encoding.AES128GCM, as by default “AESGCM” is used. As I was testing with: https://simple-push-demo.vercel.app/.
Then I noticed there was a body in the response from PushService.send with “reason BadJwtToken” which helped me to find the gihub issue and then this solution.