Questions tagged [vapid]

35 questions
0
votes
1 answer

Web push notifications update VAPID keys

I previously used different push notification provider (they did not use VAPID keys) and got users subscribed to the service. Now, when I switched the push notification provider I'm in a situation where I kinda lost all previous subscribers, because…
John
  • 143
  • 3
  • 11
0
votes
1 answer

UnauthorizedRegistration using webpush-java CLI tool

I'm looking at the webpush-java code. I tried to send a notification using the CLI tools java -jar build/libs/web-push-3.1.0-all.jar send-notification, etc.. etc.. ... But this causes a HTTP/1.1 400 UnauthorizedRegistration. What might cause…
Daniel Freeman
  • 383
  • 4
  • 11
0
votes
1 answer

Push event not firing on send notification from server

I want to push notification from my server.for that i am using web push API for java , i am able to send the notification to endpoint url but on receiver side my service worker not executing push event,As I am using VAPID so no need to use gcm Id as…
0
votes
1 answer

ActionView::Template::Error (undefined method `tr' for nil:NilClass

I am testing out the service-worker rails gem and am using VAPID private and public keys to send push notifications. I've succesfully been able to create push notifications locally, but when I deploy to heroku, the app raises the error stated above…
Jonathan Corrin
  • 1,219
  • 4
  • 17
  • 42
0
votes
3 answers

Export public key to base64 in Ruby

I have a public key in PEM format that was generated with: ecdsa_public_key = OpenSSL::PKey::EC.new ecdsa_private_key ecdsa_public_key.private_key = nil ecdsa_public_key.to_pem I have to read the PEM string and get a base64 url encoded string. How…
collimarco
  • 34,231
  • 36
  • 108
  • 142
1 2
3