AppsFlyerSDK / AppsFlyerFramework

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

`AppsFlyerLibDelegate` and Structured Concurrency #304

Open El-Fitz opened 1 month ago

El-Fitz commented 1 month ago

The AppsFlyerLibDelegate methods have non sendable parameters, such as [AnyHashable : Any] (from (NSDictionary). This will be an issue in Swift 6 for anyone passing these values around.

Are there any plans for Structured Concurrency compatibility?

Report

SDK Version

6.15.2

What did you do?

Implemented AppsFlyerLibDelegate

What did you expect to happen?

To be able to use Structured Concurrency features (such as tasks) in my own code.

What happened instead?

I had warnings, because the AppsFlyerLibDelegate methods have non-sendable parameters, that can't safely be used in the rest of our apps.

AndriyGo commented 1 week ago

This is an issue indeed. Swift 6 prevents calling the start() method