ginger_lemon
ginger_lemon
NNovu
Created by ginger_lemon on 11/30/2023 in #💬│support
Deleting only certain Push Device Tokens
In my use case, we are using Novu to send Push Notifications to mobile app users. Some users will have multiple mobile devices but will use the same subscriber id in the novu database. To prevent them from getting notifications if they've signed out on from the app only on that device, I need to delete only the token for that device which they've signed out on. How can I do this? It seems that the delete subscriber credentials api deletes all the push tokens from that provider. I need to refine it to just delete one device token for a provider. Hope that makes sense, thanks in advance.
11 replies
NNovu
Created by ginger_lemon on 11/22/2023 in #💬│support
Sending Mobile Push Notifications to Different Mobile Devices Owned by the Same Person
Hi, I have a usecase of an event triggering a workflow which needs to send push notifications to a user in the payload and each of his/her mobile devices. For example, when a reminder is triggered - a push notificaiton should go to his/her iPhone and iPad. What is the recommended way of doing this? Below are the solutions I've thought of so far: - Each user is a unique Subscriber and their mobile tokens are included in the data column as a list? - Each mobile device is a unique subscriber and the User/Subscriber map should be kept in an external DB? Are there any easier methods of doing this? Thank you.
6 replies
NNovu
Created by ginger_lemon on 9/29/2023 in #💬│support
How can I set dynamically set delays based on the trigger payload?
I want to trigger a delayed notification, but the delay needs to be set dynamically instead of a constant in the workflow. Should I just create multiple workflows or is there a way to dynamically do this? Thanks
4 replies