Skip to content

Branch iOS SDK 1.39.2

Compare
Choose a tag to compare
@echo-branch echo-branch released this 27 Mar 00:59
· 1011 commits to master since this release

v1.39.2
CORE-1768 Add 'handleATTAuthorizationStatus' method to monitor ATT prompt performance.

Pass the AppTrackingTransparency authorization status from the callback of ATTrackingManager.requestTrackingAuthorization.
Before prompting the user, check that ATTrackingManager.trackingAuthorizationStatus is notDetermined.

Swift sample code, note this should be called from the main thread:

if (ATTrackingManager.trackingAuthorizationStatus == .notDetermined) {
	ATTrackingManager.requestTrackingAuthorization { (status) in
		Branch.getInstance().handleATTAuthorizationStatus(status.rawValue)
	}
}