psrihariv
psrihariv
NNovu
Created by psrihariv on 2/12/2024 in #💬│support
SetCredentials behavior on setting repeatedly
await novu.subscribers.setCredentials('subscriberId', PushProviderIdEnum.PushWebhook, { deviceTokens: ['ANY_RANDOM_STRING'], }); What happens when the above is called multiple times for a given subscriberID? Because I am noticing for certain users my webhook is trigger multiple times where I expect it ot be single time. Also if the "ANY_RANDOM_STRING" is different would it register that webhook as for different device. If we cannot invoke multiple times and it would considered different devices is there any way we can get if the subscriber with subscriberID has cerdentials set? If there is exact documentation of the behaviour please point out.
8 replies
NNovu
Created by psrihariv on 2/1/2024 in #💬│support
Error in delivering push webhook call.
No description
20 replies
NNovu
Created by psrihariv on 12/4/2023 in #💬│support
Push-webhook newbie question/confusion
So when we set credentials for the user for push-webhook using the following // PushProviderIdEnum.PushWebhook = push-webhook await novu.subscribers.setCredentials('subscriberId', PushProviderIdEnum.PushWebhook, { deviceTokens: ['ANY_RANDOM_STRING'], }); Does this register the subscriber for the all push-webhooks present in the integrations stores? Also, how do I trigger notification across only one specific push-webhook integrations I have created. Please help!
3 replies