N
Novu•7d ago
thongnguyenqt

How to redirect users to a specific screen when clicking a push notification in Novu?

I noticed that in the In-App step, there are additional fields like redirectUrl and custom data properties that I can use for multiple purposes (e.g., navigation). However, in the Push step, it only provides two fields (title and body). Is there a way to add extra fields (like redirectUrl or other custom data properties) to the Push step payload so that I can handle navigation or additional metadata on the client side, similar to how it works with the In-App step? How can I configure the push notification so that when the user clicks on the notification (e.g., from the lock screen), it opens the app and redirects to a specific screen (similar to how redirectUrl works in the In-App step)?
2 Replies
Pawan Jain
Pawan Jain•7d ago
Hi 👋

Check out this code example on how to use overrides to send extra fields for push providers like FCM
https://docs.novu.co/platform/integrations/push/fcm#sdk-trigger-example
thongnguyenqt
thongnguyenqtOP•7d ago
thank you for your supporting

Did you find this page helpful?