• Resolved heinvv

    (@heinperu)


    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?

    .2

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Mathieu Le Roi

    (@mleroi)

    Hi,
    To send a message to one user you would have to pass his/her ID or email from the app to the push service (OneSignal/PushWoosh).
    Is that what you intend to do?
    It should be possible by using OneSignal’s external user ids for example. Then send notifications to users by ID or email.
    It would mean passing WordPress user ID or email (which you have when you use WP-AppKit user login feature) from the app to OneSignal (using OneSignal Javascript API).
    So this seems doable in theory but we’ve never tested it and it would require for you to be ok with some small PHP and Javascript development to add this feature to default WP-AppKit apps.
    Regards

    Thread Starter heinvv

    (@heinperu)

    Hi Mathieu,

    This is what I am looking for indeed.

    I wouldn’t mind doing some custom coding, but I don’t know where to start…

    Plugin Contributor Mathieu Le Roi

    (@mleroi)

    Ok I’m going to prepare some code snippets and examples in the coming days so that you can have a better idea of how this can be done.

    Plugin Contributor Mathieu Le Roi

    (@mleroi)

    Hi @heinperu,
    Here is a tutorial that explains how to send push notifications to a selection of WordPress users using WP-AppKit: https://uncategorized-creations.com/4905/send-push-notifications-to-wordpress-users/.
    Hope this helps,
    For further questions please contact us using our support email support[at]uncategorized-creations.com, which is more actively monitored, as explained here.
    Best regards

    Plugin Contributor Mathieu Le Roi

    (@mleroi)

    I close this ticket as it is inactive, don’t hesitate to reopen for any feedback about this topic.

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