Skip to content

Commit aefa98a

Browse files
author
Edward Smith
committed
Turn off test_key testing.
1 parent 482d9c6 commit aefa98a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Branch-TestBed/Branch-TestBed/AppDelegate.m

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,11 @@ @implementation AppDelegate
2121
- (BOOL)application:(UIApplication *)application
2222
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
2323

24-
// Have Branch use the Branch test key that is in the app's Info.plist file.
25-
// This makes Branch test against the test environment instead of the live environment.
26-
Branch.useTestBranchKey = YES; // Make sure to comment this line out for production apps!!!
24+
// Set Branch.useTestBranchKey = YES; to have Branch use the test key that's in the app's
25+
// Info.plist file. This makes Branch test against your test environment (As shown in the Branch
26+
// Dashboard) instead of the live environment.
27+
//
28+
// Branch.useTestBranchKey = YES; // Make sure to comment this line out for production apps!!!
2729
Branch *branch = [Branch getInstance];
2830

2931
// Comment / un-comment to toggle debugging:

0 commit comments

Comments
 (0)