Route by Host/Path
Goal
Route to a screen/scene based on the incoming deep link host + path (works for both universal links and custom schemes).
Actions Used
DeepLinkServicesOnUniversalLinkOpenorDeepLinkServicesOnCustomSchemeUrlOpen(listener, persistent)DeepLinkServicesGetUniversalLinkResultorDeepLinkServicesGetCustomSchemeResult(extractor)
Implementation Steps
Keep the listener action active (bootstrap scene).
On
receivedEvent, call the matchingGet*Resultaction and readhost+path.Route using PlayMaker string compares:
Example universal link:
https://game.com/news/patch-noteshost =
game.compath =
/news/patch-notes
Example custom scheme:
myapp://store/item/123host =
storepath =
/item/123
Safety Tip
Always validate known hosts/paths before navigating (ignore unknown links).
Last updated
Was this helpful?