Read Query Param by Key
Last updated
Extract a specific query parameter value from the incoming link using queryKeys + queryValues.
DeepLinkServicesOnUniversalLinkOpen or DeepLinkServicesOnCustomSchemeUrlOpen (listener, persistent)
DeepLinkServicesGetUniversalLinkResult or DeepLinkServicesGetCustomSchemeResult (extractor)
queryKeys (Array: String)
queryValues (Array: String)
value (String) (example: campaignId / token)
On listener receivedEvent, call the matching Get*Result action to populate queryKeys and queryValues.
Find the parameter:
Use PlayMaker Array actions to loop i = 0..queryKeys.Length-1
If queryKeys[i] == "campaign" then set value = queryValues[i]
Universal: https://game.com/promo?campaign=summer2024
Custom scheme: myapp://oauth-callback?token=xyz
queryKeys and queryValues are parallel arrays; use the same index for both.
Last updated