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

Async logEvent never seem to finish while there is no internet connection when called #245

Closed kevin-hv closed 5 months ago

kevin-hv commented 1 year ago

Report

SDK Version

iOS 6.12.0

What did you do?

func logEvent(name eventName: String, values eventValues: [String : Any]?) async throws -> [String : Any]

What did you expect to happen?

What happened instead?

Please provide any other relevant information.

6.12.0 iOS SDK.

andr-ggn commented 1 year ago

This is known limitation for now and we are working on it. As a workaround - do not use await for now. In case if you want to repeat InApp due to connection issue – you don't need to do this. The SDK will send cached InApps on the next start() in case network appears

You may call Start() before logEvent()?