Description
Please check the following before submitting a new issue.
- I have searched the existing issues.
- I have carefully read the documentation and verified I have added the required platform specific configuration.
Please select affected platform(s)
- Android
- iOS
- Windows
Proposal
permission_handler_apple supports Flutter > 2.8.0, which had a minimum iOS requirement of iOS 9.
This is a relevant code from the Flutter 2.8.0 tag that shows 9.0:
https://github.com/flutter/flutter/blob/cf4400006550b70f28e4b4af815151d1e74846c6/packages/flutter_tools/templates/app_shared/ios-objc.tmpl/Runner.xcodeproj/project.pbxproj.tmpl#L286
flutter/flutter#62902
However, the permission_handler_apple podspec claims to support iOS 8 (both 8 and 9 are really old at this point):
This isn't a problem in and of itself, but it means the iOS 8 fallback checks are always dead code.
Current Flutter supports iOS 12 and higher, so you could optionally bump further, but that would require increasing the minimum version of Flutter in the pubspec.
Pitch
Increase the podspec to 10.0.
Remove the dead if (@available(iOS 9.0, *))
and earlier check fallbacks