Is web push supposed to work for linked devices? #1208
Unanswered
KareemJandali
asked this question in
WhatsApp protocol Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey, I'm hoping someone can tell me if I'm wasting my time here.
I'm calling
RegisterForPushNotificationswith aWebPushConfigfrom acompanion device (paired with a phone-number code). It always comes back
successful, no error. But I've never once received a push at my endpoint.
I've checked the obvious things: the endpoint is publicly reachable (I
tested it from outside right before and right after), the app is fully
force-quit so there's no socket open, and I log every request on every
path. Nothing shows up at all, not even a probe.
If I call
GetServerPushNotificationConfigstraight after registering, Ijust get
<settings webserverkey="..."/>back, with no endpoint in it.Two things I can't figure out:
working?
https://fcm.googleapis.com/fcm/send/...), or can it be any HTTPS URL Icontrol?
I noticed mautrix-whatsapp hardcodes the VAPID key, so it looks like this
is used in practice. I'm just trying to work out what I'm doing differently.
Thanks!
All reactions