xamarin-branch-deep-linking-attribution
xamarin-branch-deep-linking-attribution copied to clipboard
InitSessionComplete - BranchUniversalObject properties
In the context of
public void InitSessionComplete(BranchUniversalObject buo, BranchLinkProperties blp)i'm calling
Debug.WriteLine(buo.metadata.ToJsonString());
and getting:
"{"+clicked_branch_link":"false","+click_timestamp":"1559835438","~marketing":"True","$one_time_use":"False","~feature":"marketing","+match_guaranteed":"True","~creation_source":"1","~id":"627164851064107222","~channel":"Web","~referring_link":"https://mobile-api-gothelist.test-app.link/qLeAj4iAuU","+is_first_session":"False","$marketing_title":"CustomTestUrl","~campaign":"TestCampgain"}"
The question is, there is no property that I can access in buo that retrieves the referring_link. The only way to get the referring_linkis to change to InitSessionComplete(Dictionary<string, object> data)and manually parse the dictionary.
@jzeferino try this: string val = universalObject.metadata.GetCustomMetadata()["~referring_link"];
That works, but since im using the BUO I was expecting to have a property with that value.
Also for values like non_branch_link and clicked_branch_link I was expecting them to be available in the BUO. There is no point for the user to parse manually the dictionary in the initSessionComplete.
@jzeferino I will send your request to our team.
Thanks. Should I expect any due date for this? @antonargunov