If your deep links are not working when a push notification is opened, you need to ensure they are being handled correctly within your OutSystems application logic. This is done using the HandleDeepLink action.
Follow these steps to configure it:
In your project's notification handling logic, add an If condition to check whether the incoming notification contains a deep link for either iOS or Android.
Condition:
Notification.ios.DeepLink<>"" or Notification.android.DeepLink<>""If the condition is true, use the RedirectToURL action to navigate to the URL provided in the notification. You can use another If statement within the
RedirectToURLinput to select the correct link based on the platform.RedirectToURL Input:
If(Notification.android.DeepLink<>"", Notification.android.DeepLink, Notification.ios.DeepLink)
This setup ensures that when a user opens a notification, the app correctly interprets the deep link and navigates to the specified screen or content.
Comments
0 comments
Please sign in to leave a comment.