sentry-cocoa: iOS issue reported for "App Hanging" but it's just the app going to the background
Platform:
- Dart
- Flutter Android or iOS
- Flutter Web
IDE:
- VSCode
- IntelliJ/AS
- XCode
- Other, which one?
split-debug-info and obfuscate (Flutter Android or iOS) or CanvasKit (Flutter Web):
- Enabled
- Disabled
Platform installed with:
- pub.dev
- GitHub
Output of the command flutter doctor -v below:
[✓] Flutter (Channel beta, 3.7.0-1.5.pre, on macOS 13.2 22D49 darwin-arm64, locale en-US)
• Flutter version 3.7.0-1.5.pre on channel beta at /Users/andrew.coutts/Projects/flutter
• Upstream repository git@github.com:flutter/flutter.git
• Framework revision 099b3f4bf1 (3 weeks ago), 2023-01-20 18:35:12 -0800
• Engine revision 45c5586f2a
• Dart version 2.19.0 (build 2.19.0-444.6.beta)
• DevTools version 2.20.1
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc2)
• Android SDK at /Users/andrew.coutts/Library/Android/sdk
• Platform android-33, build-tools 33.0.0-rc2
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14C18
• CocoaPods version 1.11.3
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
[✓] VS Code (version 1.75.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.58.0
[✓] VS Code (version 1.76.0-insider)
• VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
• Flutter extension version 3.58.0
[✓] Connected device (4 available)
• V2135 (mobile) • 13755444730009Q • android-arm64 • Android 11 (API 30)
• iPhone 14 Pro Max (mobile) • 3339E92F-270A-478D-B9E1-B5C143E3B6A4 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
• macOS (desktop) • macos • darwin-arm64 • macOS 13.2 22D49 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 109.0.5414.119
[✓] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
The version of the SDK (See pubspec.lock): 4.x.x
I have the following issue:
I’m getting a lot of reports like this saying the app is hanging but I don’t think actually is hanging, it’s just the app going to the background and being cleaned up by the OS.
Steps to reproduce: Unknown, came in via sentry.
Actual result: Seeing false issues.
Expected result: Should only report hangs when it actually hangs
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 2
- Comments: 21 (12 by maintainers)
I don’t think Flutter interferes with that, the notifications are an OS feature.