Reputation: 3417
I want to test newly added addMetadataKey
in branch share link [branchUniversalObject addMetadataKey:@"user_name" value:user_name ];
is present in the params
or not.
If user clicks a link, if he doesn't have an app installed, he'll be redirected to the app store but app store deployed version dabove code yet then How can i test for new code ?
I want to check on Xcode stimulator share addMetadataKey
parameters. I need addMetadataKey
parameters in some functionality.
Is there any way to do testing without deploying app?
How can I do that?
// Branch.IO
Branch *branch = [Branch getInstance];
[branch initSessionWithLaunchOptions:launchOptions isReferrable:YES andRegisterDeepLinkHandler:^(NSDictionary *params, NSError *error) {
NSLog(@"Branch io params .... %@ ",params);
NSString *shareUserName = [params objectForKey:@"user_name"];
NSLog(@"%@",shareUserName);
if (!error) {
}}];
Upvotes: 3
Views: 2825
Reputation:
check out this link test a new install before app (with branch-io) is released to the store?
In the mean time, unfortunately, here's the test flow:
Uninstall the app
Click a Branch link with the deep link data you want (here's a couple ways you can create one https://dev.branch.io/link_creation_guide/)
Upvotes: 4
Reputation: 13613
Alex from Branch.io here: Branch doesn't know (or care) how the application is installed onto your device. Installing directly from Xcode and using a beta distribution system (TestFlight, Hockey, Fabric, etc.) are treated exactly the same way as going through the App Store.
Here is a flow you can use to test this:
Upvotes: 12