Aulig / webtoapp-wordpress

Companion plugin for your WordPress website turned into an app with webtoapp.design
GNU General Public License v2.0
0 stars 1 forks source link

Ability to select recipients #2

Open allinappliadmin opened 6 months ago

allinappliadmin commented 6 months ago

It would be a cool feature to be able to select recipients among users with an account as an optional feature, for example to send tests messages when the communication team works on a notification or to target users.

it could be integrated in the form in such as way

image

Aulig commented 6 months ago

Good idea!

This would have to use the API to send notifications to individual users: https://webtoapp.design/blog/advanced-push-notifications

The tricky part is that it would require fetching and storing the push notification tokens of the users in advance (and then associate them with users' e-mail addresses to make easy selection possible).

I don't know enough about Wordpress development to know the best way to approach this, but I'm definitely open to suggestions :)

allinappliadmin commented 6 months ago

an other project in the stack ;-)