If your deep links are not working when sent via a push notification in your OutSystems application, you likely need to configure the HandleDeepLink action to correctly process the incoming URL from the notification payload.
Follow these steps to set up deep linking:
- In your OutSystems project, locate or create the logic flow that handles incoming notifications.
- Use the HandleDeepLink action within this flow.
- Set up a condition to check if a deep link is present in the notification for either iOS or Android. The condition should be:
Notification.ios.DeepLink<>"" or Notification.android.DeepLink<>"" - If the condition is true, use the RedirectToURL action.
- In the
RedirectToURLaction, set the URL template to dynamically use the deep link from the notification payload. The expression should be:If(Notification.android.DeepLink<>"",Notification.android.DeepLink,Notification.ios.DeepLink)
When sending a push notification from the Pushwoosh Control Panel, ensure the deep link you provide in the "Action" settings follows the URL scheme configured in your app. For example:
your-app-scheme://screen-name?parameter=value
Comments
0 comments
Please sign in to leave a comment.