@@ -44,10 +44,10 @@ - (BOOL)application:(UIApplication *)application
4444 // [branch validateSDKIntegration];
4545
4646 // Comment / un-comment to toggle debugging
47- // [branch setDebug];
47+ [branch setDebug ];
4848
4949 // Optionally check for Apple Search Ads attribution:
50- [branch delayInitToCheckForSearchAds ];
50+ // [branch delayInitToCheckForSearchAds];
5151
5252 // Turn this on to debug Apple Search Ads. Should not be included for production.
5353 // [branch setAppleSearchAdsDebugMode];
@@ -58,7 +58,8 @@ - (BOOL)application:(UIApplication *)application
5858 BNCLogSetDisplayLevel (BNCLogLevelAll);
5959 [branch setWhiteListedSchemes: @[@" branchuitest" ]];
6060
61- #if 0
61+ #if 1
62+ // [branch setIdentity:@"Bobby Branch"];
6263 [branch initSessionWithLaunchOptions: launchOptions
6364 andRegisterDeepLinkHandler: ^(NSDictionary * _Nullable params, NSError * _Nullable error) {
6465 [self handleBranchDeepLinkParameters: params error: error];
@@ -195,7 +196,7 @@ - (void)handleBranchDeepLinkParameters:(NSDictionary*)params error:(NSError*)err
195196 [[TBDetailViewController alloc ] initWithData: params];
196197 dataViewController.title = @" Link Opened" ;
197198 dataViewController.message = params[@" ~referring_link" ];
198- if (!dataViewController.message )
199+ if (!dataViewController.message . length )
199200 dataViewController.message = params[@" +non_branch_link" ];
200201 if (dataViewController.message .length == 0 )
201202 dataViewController.message = @" < No URL >" ;
0 commit comments