simple_permissions_native 1.2.0
simple_permissions_native: ^1.2.0 copied to clipboard
Unified permission handling for Flutter apps. Manages runtime permissions, app roles (SMS, Dialer), and battery optimization.
1.2.0 #
- Added Apple example targets, Apple build validation, and Apple smoke-test coverage in CI.
- Refactored iOS and macOS native handlers into domain-specific Swift files with centralized registries.
- Split role-acquisition
Intentionpresets from the defaulttextingandcallingruntime-permission presets. - Consolidated Android Kotlin system-settings boilerplate into a data-driven dispatch pattern.
- Consolidated Dart
SystemSettingHandlerswitch duplication viaSystemSettingTypeenum methods. - Removed duplicate background-location foreground check from
RuntimePermissionHandler(orchestrator owns this logic). - Expanded README with platform setup guides,
PermissionGrantstate table,Intentionreference, and usage examples. - Improved example app with Intention-based flows, batch requests, and denied-state handling.
- Made
Intentionconst-constructible from user code (removedUnmodifiableListViewwrapping). - Added symmetric Kotlin test coverage for all system-setting request flows (overlay, install packages, schedule exact alarms).
- Added web platform support (
simple_permissions_web) with browser Permissions API for camera, microphone, geolocation, and notifications.
1.1.0 #
- Added location accuracy API:
checkLocationAccuracy()LocationAccuracyStatus(precise,reduced,none,notApplicable,notAvailable)
- Enforced Android background-location sequencing on API 30+:
BackgroundLocationrequests now require prior foreground location grant.- If requested first, the plugin returns
PermissionGrant.deniedand does not invoke runtime request.
- Added Android permission types:
BodySensorsBackgroundReadVoicemailAddVoicemailUwbRangingAcceptHandover
1.0.0 #
- Initial release of
simple_permissions_native. - Introduced federated plugin structure with:
simple_permissions_platform_interfacesimple_permissions_androidsimple_permissions_ios
- Added capability-based permission APIs for cross-platform checks and requests.
- Added detailed permission result modeling for richer status reporting.
- Included iOS privacy manifest support for App Store compliance.