Skip to content

Commit fda0856

Browse files
committed
INTENG-9765 test control param
1 parent fb8ca3a commit fda0856

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Examples/TestBed-macOS/TestBed-macOS/APPViewController.m

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ - (BranchUniversalObject*) createUniversalObject {
264264
- (BranchLinkProperties*) createLinkProperties {
265265
NSString *feature = @"Sharing Feature";
266266
NSString *channel = @"Distribution Channel";
267-
// NSString *desktop_url = @"http://branch.io";
267+
NSString *desktop_url = @"http://branch.io";
268268
// NSString *ios_url = @"https://dev.branch.io/getting-started/sdk-integration-guide/guide/ios/";
269269

270270
BranchLinkProperties *linkProperties = [[BranchLinkProperties alloc] init];
@@ -274,6 +274,9 @@ - (BranchLinkProperties*) createLinkProperties {
274274
linkProperties.stage = @"stage four";
275275
linkProperties.campaign = @"some campaign";
276276
linkProperties.matchDuration = 18000;
277+
278+
linkProperties.controlParams[@"$desktop_url"] = desktop_url;
279+
277280
// TODO: Control params:
278281
// [linkProperties addControlParam:@"$desktop_url" withValue: desktop_url];
279282
// [linkProperties addControlParam:@"$ios_url" withValue: ios_url];

0 commit comments

Comments
 (0)