ios-branch-deep-linking-attribution: setAppleSearchAdsDebugMode not working
We have implemented setAppleSearchAdsDebugMode exactly as mentioned in the docs and running on a clean simulator (10.3.1). The same behaviour also happens on a device.
When trying to log the dummy debug data, nothing is getting returned other than the default:
{
"+clicked_branch_link" = 0;
"+is_first_session" = 0;
}
Our logging code:
[branch initSessionWithLaunchOptions:launchOptions isReferrable:YES andRegisterDeepLinkHandler:^(NSDictionary *params, NSError *error) {
NSLog(@"data: %@", [params description]);
}];
In addition, no attribution appears in the Branch dashboard
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 2
- Comments: 22 (22 by maintainers)
I found a problem with the back end. That code is in production now. I am going to do some final testing today and you should be good to go.
We can’t send our project unfortunately, but if the testbed app pulled down from here isn’t working for us then that doesn’t really matter. FWIW, our lead iOS dev sees this same behaviour as I do too (on our project and the testbed app)
I’ve put breakpoints in the
checkAppleSearchAdsAttributionmethod and can confirm that thetestInfoobject is set up as expected (https://github.com/BranchMetrics/ios-branch-deep-linking/blob/03ff243248299aafb98e48f075181a5d64efe651/Branch-SDK/Branch-SDK/Branch.m#L793) but it just doesn’t get returned to the listener.