Baseflow / Baseflow/flutter-permission-handler
[Bug]: crash on Safari<16
- 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
1. build an app for web using permission_handler in debug configuration
```sh
flutter build web \
--dart-define-from-file=config.json \
--source-maps \
--web-renderer auto \
-t lib/web_main.dart \
-O 1 \
--dart-define=Dart2jsOptimization=O0
```
3. load the app
### Expected results
App loads
### Actual results
App crashes (see screenshot below)
### Code sample
Code sample
N/A as this happens in initialization code, i.e. any code sample will trigger this
### Screenshots or video
Screenshots or video demonstration

### Version
11.3.1
### Flutter Doctor output
Doctor output
```console
[✓] Flutter (Channel stable, 3.24.3, on Arch Linux 6.10.10-arch1-1, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Chrome - develop for the web
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2024.1)
[✓] Connected device (2 available)
[✓] Network resources
```
Contributor guide
Assessment
This issue has not been assessed yet.