Skip to content

App freezes when using autoAppStart=false #2160

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

Closed
shinayser opened this issue Jul 10, 2024 · 3 comments
Closed

App freezes when using autoAppStart=false #2160

shinayser opened this issue Jul 10, 2024 · 3 comments

Comments

@shinayser
Copy link

Platform

Dart

Obfuscation

Enabled

Debug Info

Enabled

Doctor

Dart SDK version: 3.3.4 (stable) (Tue Apr 16 19:56:12 2024 +0000) on "windows_x64"

Version

7.18.0

Steps to Reproduce

Setting autoAppStart=false frezes the app after the first screen of the app.

Expected Result

App should proceed

Actual Result

In our case we have an loading animation that freezes on final frame and then the app doesn't proceed. Turning autoAppStart back to true backs everything to normal.

We also using the SentryFlutter.setAppStartEnd( ... ) but doesn't help.

Are you willing to submit a PR?

None

@buenaflor
Copy link
Contributor

buenaflor commented Jul 10, 2024

hey this is a bug in your used sentry version, try out 7.20.2 which should include one of the fixes #2045

if you still have problems then I can also suggest removing the integration for now

// ignore: implementation_imports
import 'package:sentry_flutter/src/integrations/native_app_start_integration.dart';

options.removeIntegration(options.integrations.firstWhere((e) => e is NativeAppStartIntegration));

@buenaflor buenaflor moved this from Needs Discussion to Needs More Information in [DEPRECATED] Mobile SDKs Jul 10, 2024
@buenaflor buenaflor moved this to Waiting for: Community in GitHub Issues with 👀 3 Jul 10, 2024
@shinayser
Copy link
Author

@buenaflor amazing to hear! I will try it tomorrow and give you feedback!

@getsantry getsantry bot moved this from Waiting for: Community to Waiting for: Product Owner in GitHub Issues with 👀 3 Jul 11, 2024
@buenaflor buenaflor moved this from Waiting for: Product Owner to Waiting for: Community in GitHub Issues with 👀 3 Jul 11, 2024
@shinayser
Copy link
Author

Thanks for the help. It worked with 7.20.2!

@github-project-automation github-project-automation bot moved this from Needs More Information to Done in [DEPRECATED] Mobile SDKs Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Archived in project
Development

No branches or pull requests

2 participants