N
Novu•4mo ago
zahle

Redirect does not work on InApp notifications

Hi team, I have integrated the in-app notifications onto our app. But the redirect action does not work. Upon further investigation, I can see that the SDK does not forward redirect object to Novu Cloud.
await step.inApp('in-app', async () => {
return {
subject: 'Project Invite',
body: `${fromUserName} has invited to collaborate on ${Name}`,
redirect: {
url:Link,
target: '_blank'
} }
})
await step.inApp('in-app', async () => {
return {
subject: 'Project Invite',
body: `${fromUserName} has invited to collaborate on ${Name}`,
redirect: {
url:Link,
target: '_blank'
} }
})
3 Replies
Pawan Jain
Pawan Jain•4mo ago
@zahle Are you using 2.0.0-canary.3 version of @novu/react ? make sure @novu/framework is of version above 2.0.0
zahle
zahleOP•4mo ago
we are using 2.0.0-canary.-2. We fixed the issue by moving framework and node packages from 2.0.0-canary to 2.0.0
Pawan Jain
Pawan Jain•4mo ago
@zahle Thanks for the update Let me know if we can help with anything else 🙂
Want results from more Discord servers?
Add your server