[buddypress-trac] [BuddyPress Trac] #8562: Push Notifications on Mobile Phone

buddypress-trac noreply at wordpress.org
Wed Sep 1 17:09:46 UTC 2021


#8562: Push Notifications on Mobile Phone
-------------------------+------------------------------
 Reporter:  gamicord     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Core         |     Version:  9.1.1
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by shawfactor):

 Hi this should not a feature (it is plugin territory). BUT I can say (as
 someone building a buddypress plugin to do web push notifications) that a
 couple of modification to the buddypress notification functions would make
 plugin development in this space much easier


 1. Decouple the fetching/looping from the formatting of notifications,
 bp_notifications_get_notifications_for_user  should be a wrapper for a
 loop that invokes the formatting function on each notification

 2. when an object is returned it should be MUCH richer and include
 attributes like title, icon etc. which would enable notification to be
 consumed by many other channels e.g. specific apps, JavaScript
 notifications and the web push api.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8562#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list