Hi there,
For our push notification, there is need to return a dynamic deeplink based on certain criteria the customer is eligible for.
As an example, this is what I am looking to accomplish:
{%#if "abc"="123"%} myAppScheme://webview?redirect=https://www.google.com {%else if "aaa"="aaa"%} myAppScheme://webview?redirect=https://www.msn.com{%else%} myAppScheme://webview?redirect=https://www.yahoo.com{%/if%}
With just myAppScheme://webview?redirect=https://www.google.com alone in the deeplink, I was able to get it to work. But after adding a condition, the deeplink doesn't work. Is this supported?
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
Thanks @_Manoj_Kumar_ ,
I was able to get it to work in the end. For my case in particular, I am learning that every edit you make in the editor takes time to be reflected (ie. title, body, deeplink), seems like there is some kind of caching. So every time I make a logic change, and I test it right away, the change actually wasn't reflected.
Though, curious how the "redirect" in the custom data will work? Can you explain on that piece @_Manoj_Kumar_ ? Thanks!
Views
Replies
Total Likes
Hello @akwankl
Can you check if the redirect URL is populated correctly when a push is received on app?
the other options you can try is the key value pair under Custom data
Views
Replies
Total Likes
Thanks @_Manoj_Kumar_ ,
I was able to get it to work in the end. For my case in particular, I am learning that every edit you make in the editor takes time to be reflected (ie. title, body, deeplink), seems like there is some kind of caching. So every time I make a logic change, and I test it right away, the change actually wasn't reflected.
Though, curious how the "redirect" in the custom data will work? Can you explain on that piece @_Manoj_Kumar_ ? Thanks!
Views
Replies
Total Likes
Hello @akwankl
It would work in the same value. Instead of reading the value from query parameter the app will get this information as JSON payload. Once the value is available then app can take relevant action.
ohh, is it anything you put under "custom data" will pretty much become a query parameter value? In my case, because I have ?redirect=, that's why I can put "redirect" under "Custom Data"? Is it only for parameter values under "On click behaviour/deeplink"?
Thanks.
Views
Replies
Total Likes
Views
Likes
Replies