• I’d like to create a messaging board. And I’d like to push notifications to a user if he/she receives a new message.

    Is this possible with notifications on a pwa?

    .3

Viewing 2 replies - 1 through 2 (of 2 total)
  • @heinperu – Yes when a PWA push notification user subscribes to notification what I have found is that you can see the device and send notification to specific user if you know their device. But currently I am not able to send notifications as it seems the Firebase API has changed and I am no longer able to send notifications via Progressive WP as it gives an error.

    Plugin Author Nico Martin

    (@nico_martin)

    Hi @heinperu

    Yes. Progressive WordPress stores the WordPress user-ID with the push subscription. So you can send push notifications to this specific user. If he’s not logged in you would need to find another way to match the subscription to a user. But technically you can.

    However, there is a problem right now with push notifications in general. It’s addressed here and I’ll try my best to find a more sustainable solution:
    https://github.com/SayHelloGmbH/progressive-wordpress/issues/57

    Kind regards,
    Nico

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can I send push notifications to a specific user’ is closed to new replies.