flutter-permission-handler icon indicating copy to clipboard operation
flutter-permission-handler copied to clipboard

[Bug]: Crash iOS [NotificationPermissionStrategy permissionStatus]

Open 106271 opened this issue 10 months ago • 0 comments

Please check the following before submitting a new issue.

Please select affected platform(s)

  • [ ] Android
  • [X] iOS
  • [ ] Windows

Steps to reproduce

Unable to reproduce, the key symbolized content of the crash log is as follows.

AppVariant: 1:iPhone17,2:18 Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Date/Time: 2024-12-10 13:28:19.5592 +0800 Launch Time: 2024-12-10 09:02:50.4790 +0800 OS Version: iPhone OS 18.1 (22B82) Release Type: User Baseband Version: 1.11.01 Report Version: 104

Exception Type: EXC_CRASH (SIGKILL) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: FRONTBOARD 2343432205 <RBSTerminateContext| domain:10 code:0x8BADF00D explanation:scene-update watchdog transgression: app:431 exhausted real (wall clock) time allowance of 10.00 seconds ProcessVisibility: Foreground ProcessState: Running WatchdogEvent: scene-update WatchdogVisibility: Background WatchdogCPUStatistics: ( "Elapsed total CPU time (seconds): 15.330 (user 8.230, system 7.100), 26% CPU", "Elapsed application CPU time (seconds): 1.693, 3% CPU" ) reportType:CrashLog maxTerminationResistance:Interactive>

+[NotificationPermissionStrategy permissionStatus] (in Runner) (NotificationPermissionStrategy.m:81) +[PermissionManager checkPermissionStatus:result:] (in Runner) (PermissionManager.m:23) -[PermissionHandlerPlugin handleMethodCall:result:] (in Runner) (PermissionHandlerPlugin.m:0)

Expected results

none

Actual results

none

Code sample

Code sample

Screenshots or video

Screenshots or video demonstration

[Upload media here] none

Version

11.3.1

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.27.0, on macOS 15.1 24B83 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 16.1)
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google
    Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2023.3)
[✓] VS Code (version 1.89.1)
[✓] Connected device (2 available)

106271 avatar Dec 17 '24 01:12 106271