Baseflow / Baseflow/flutter-permission-handler

[Bug]: Crash iOS [NotificationPermissionStrategy permissionStatus]

Open
#1,420 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.2k
Forks
970
Avg merge
14h 22m
Merged PRs (30d)
2

Description

### Please check the following before submitting a new issue.

- [X] I have searched the [existing issues](https://github.com/baseflow/flutter-permission-handler/issues).
- [X] I have carefully [read the documentation](https://github.com/Baseflow/flutter-permission-handler/blob/main/permission_handler/README.md) and verified I have added the required platform specific configuration.

### 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

+[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

```console
[✓] 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)

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.