Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main thread stuck during SDK initialization #590

Open
zhuscat opened this issue Jun 17, 2024 · 1 comment
Open

Main thread stuck during SDK initialization #590

zhuscat opened this issue Jun 17, 2024 · 1 comment

Comments

@zhuscat
Copy link

zhuscat commented Jun 17, 2024

During the SDK initialization process, it can cause the UI main thread to freeze, resulting in the user interface unresponsive

After the map loaded, everything goes ok.

SDK version: ^2.1.0-beta.1

Flutter doctor:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.0, on macOS 14.0 23A344
    darwin-arm64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK
    version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.89.1)
[✓] Connected device (3 available)
[✓] Network resources

Platform: iOS 15.0

@evil159
Copy link
Contributor

evil159 commented Jun 27, 2024

@zhuscat Could you profile the iOS project with Xcode Instruments to see what's the offending code path is?

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

No branches or pull requests

2 participants