Push notifications when data changes
Is there anyway that I can integrate push notifications when the data is updated? @Lee
3 Replies
What kind of push notification do you want @plueondee, a web browser updating data? If so then the ConvexReactClient will handle this. If you want a mobile push from a service like pusher I would schedule an action that triggers that in the mutation that modifies the data. If you want to make an HTTP request like a web hook, schedule an action to make that request from the mutation that modifies the data is also a good fit.
See this thread about eventual more integrated solutions to this, https://discord.com/channels/1019350475847499849/1142479852885246102 but @plueondee the general pattern of scheduling an action from the mutation that changes the data often works for this.
That’s the part i don’t know I’ve used firebase and it has like fire messaging so that is easy to do a phone push notifications
Thank you 🙏
If you have a scheduling function s example on a data change that would be great! Please let me know where is it in the documentation
@plueondee I suggest scheduling the change in the mutation where you make the data change