AppsFlyerSDK / AppsFlyerFramework

AppsFlyer Apple SDK
https://support.appsflyer.com/hc/en-us/articles/207032066-AppsFlyer-SDK-Integration-iOS
Other
163 stars 90 forks source link

crash waitForATTUserAuthorizationWithTimeoutInterval unrecognized selector sent to instance #239

Closed meanreaksmey closed 11 months ago

meanreaksmey commented 1 year ago

hi could you help check why after I add AppsFlyerLib.shared().waitForATTUserAuthorization(timeoutInterval: 60) I got error: -[AppsFlyerLib waitForATTUserAuthorizationWithTimeoutInterval:]: unrecognized selector sent to instance 0x12bd0c580

Screenshot 2023-05-18 at 10 34 25 AM
amit-kremer93 commented 1 year ago

Thank you for reaching out, can you provide us a code snippet of the SDK implementation and an example of an app with this crash?

meanreaksmey commented 1 year ago

Hi @amit-kremer93, this is the code that I use from SDK.

Screenshot 2023-05-23 at 3 02 08 PM
andr-ggn commented 1 year ago

Why did you call start() on didFinishLaunchingWithOptions and delay(250ms) looks really weird

meanreaksmey commented 11 months ago

Hi @andr-ggn and @amit-kremer93, I see it crash while I using this version: AppsFlyerLib-Strict 6.12.0

meanreaksmey commented 11 months ago

now I fixed this issue by using version: AppsFlyerLib 6.11.0