Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Freeze on requesting deviceID #120

Open
larryonoff opened this issue Jul 14, 2023 · 1 comment
Open

Freeze on requesting deviceID #120

larryonoff opened this issue Jul 14, 2023 · 1 comment

Comments

@larryonoff
Copy link

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
Copy link
Contributor

GLinnik21 commented Jul 17, 2023

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:

  • A full text dump of all the threads, to better understand the state of your application when the freeze occurs.
  • The version of the AppMetrica SDK you're using.
  • The Xcode version you're working with.
  • Any other relevant details about your development environment or specific use case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants