How to utilize the overrides data after the push notification has been sent.
I have an Expo React Native app using push notifications sent through the Novu SDK (using the Expo Push).
I am sending Deep Link URLs within the Novu Trigger by adding the url to the overrides data.
In order to show notifications within the app, I'm using the Node SDK to fetch the subscribers recent push notifications:
Within the app, I'm showing notifications to the user as a list of their most recent notifications (see attached photo)
My question is, does the response from Novu (the
novu.messages.list
) include the overrides url (aka the deeplink)? I'm wanting to allow the user to tap on a notification within this notification list and be deep-linked to the URL. (Let's say they don't tap on the Notification itself, but later open the app and click on a notification within the app).
I'm onlying seeing the title
and body
within the push notification message sent back from Novu.
Is this the proper way to go about it? Or should I be adding a variables to the push notification in order to use them later on? If so, is there a way to hide that variable from the user?3 Replies
And to further clarify, deep linking with the overrides is working (only when a user taps on the system notification itself).
I'm wanting to use that url later on to send them to the same point programatically.
<@962730337379708980> could you please create a github issue for this?
!bug