You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working to integrate tracking Apple Search Ads with Branch in a Xamarin.iOS app (not Xamarin Forms). In the AppDelegate.cs, I have the following initialization logic at the top of the FinishedLaunching override:
// This will usually add less than 1 second on first time startup. Up to 3.5 seconds if Apple Search Ads fails to respond.
branch.delayInitToCheckForSearchAds()
// Increases the amount of time the SDK waits for Apple Search Ads to respond. The default wait has a better than 90% success rate, however waiting longer can improve the success rate. This will increase the usual delay to about 3 seconds on first time startup. Up to about 15 seconds if Apple Search Ads fails to respond.
branch.useLongerWaitForAppleSearchAds()
// Branch won't callback with Apple's test data, this is still sent to the server.
branch.ignoreAppleSearchAdsTestData()
branch.initSession(launchOptions: launchOptions, andRegisterDeepLinkHandler: { (params, error) in
// handle payload
})
That code leads me to believe that I should also be calling something along the lines of BranchIOS.UseLongerWaitForAppleSearchAds () and BranchIOS.IgnoreAppleSearchAdsTestData () before calling the Init method.
However, nothing in the publicly-exposed BranchIOS class seems to connect to those. Are there any plans to implement those methods similar to the DelayInitToCheckForSearchAds method?
The text was updated successfully, but these errors were encountered:
I am working to integrate tracking Apple Search Ads with Branch in a Xamarin.iOS app (not Xamarin Forms). In the
AppDelegate.cs
, I have the following initialization logic at the top of theFinishedLaunching
override:However, in the Branch SDK documentation article for integrating Apple Search Ads tracking, the Swift example code indicates two other methods that should be called prior to
Init
:That code leads me to believe that I should also be calling something along the lines of
BranchIOS.UseLongerWaitForAppleSearchAds ()
andBranchIOS.IgnoreAppleSearchAdsTestData ()
before calling theInit
method.I can see in the iOS
ApiDefinition
there are binding methods set up for those two methods, so it does appear that the native Branch client supports those: https://github.com/BranchMetrics/xamarin-branch-deep-linking-attribution/blob/master/Branch-Xamarin-Lib.iOS/ApiDefinition.cs#L3438However, nothing in the publicly-exposed
BranchIOS
class seems to connect to those. Are there any plans to implement those methods similar to theDelayInitToCheckForSearchAds
method?The text was updated successfully, but these errors were encountered: