yandexmobile / metrica-sdk-ios

AppMetrica is a free real-time ad tracking and mobile app analytics solution.
https://tech.yandex.com/metrica-mobile-sdk/
Other
73 stars 15 forks source link

Freeze on requesting deviceID #120

Open larryonoff opened 1 year ago

larryonoff commented 1 year ago

Device ID request freezes, YMMYandexMetrica doesn't respond and doesn't throw any errors.

The code is try await YMMYandexMetrica.requestAppMetricaDeviceID(withCompletionQueue: nil)

Please see screenshot when on pause debugging. telegram-cloud-photo-size-2-5298762129182149340-y

GLinnik21 commented 1 year ago

Hello! Thank you for your report. Based on the information you've provided, it appears that you're trying to use Swift's async/await syntax with the AppMetrica SDK. I want to clarify that, the AppMetrica SDK does not support Swift's async/await syntax.

Furthermore, it's unclear how your code was compiled given that our SDK doesn't support Swift's concurrency model. This discrepancy may be contributing to the issues you're experiencing.

In order to best assist you, it would be helpful if you could provide some additional information: