-
Notifications
You must be signed in to change notification settings - Fork 307
Description
My project and other similar projects are facing the crash issue when app "Allow Tracking" and get ATTrackingManager.AuthorizationStatus.authorized
from AppTrackingTransparency.
The crash happen once we start initialize Adjust SDK by Adjust.appDidLaunch(adjustConfig)
then the app crash with message "Message from debugger: Terminated due to signal 9"
I have also tried setting the config .allowIdfaReading = false
but still face a crash.
I also tried this with new example project to prove that this happen and it's. Just simple project and adding code below
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
ATTrackingManager.requestTrackingAuthorization { status in
let adjustConfig = ADJConfig(appToken: Constant.adjustTrackerToken, environment: ADJEnvironmentSandbox)
Adjust.appDidLaunch(adjustConfig)
}
return true
}
If select "Allow Tracking", App will crash and even next time relaunch app it will also crash due to authorization status is already authorized
. However if select "Do not allow tracking" App won't crash and Adjust will initialize correctly.