permission_manager 2.0.0
permission_manager: ^2.0.0 copied to clipboard
A Flutter plugin to check and request app permissions on Android and iOS using a unified and simple API.
2.0.0 #
- ๐ Full Linux Support: Added native implementation for Linux platform mapping, achieving parity across all 6 Flutter platforms.
- ๐ฆ Swift Package Manager (SPM) Support: Integrated
Package.swiftfor both iOS and macOS, enabling modern dependency management. - ๐ 100% Documentation Coverage: Added comprehensive dartdoc comments for all public API members (classes, methods, enums).
- ๐ Improved Code Quality: Enabled
public_member_api_docslint and resolved all analysis warnings. - ๐งช Enhanced Testing: Updated unit tests to support the expanded platform interface and verified functionality.
1.0.0 #
๐ Features #
- ๐ Federated Architecture: Refactored to a modern federated structure for robust cross-platform extensibility.
- ๐ Expanded Platform Support:
- Android & iOS: Optimized native implementations for all permissions.
- Web: Initial support for core permissions using the Browser Permissions API.
- macOS: Full native support with parity to iOS.
- Windows: Infrastructure added for future expansion.
- ๐ก Real-time Updates: Listen to permission status changes via
statusStream(). - ๐ฆ Batch Operations: Check or request multiple permissions simultaneously with
checkMultiple()andrequestMultiple(). - ๐ค Specialized Android Permissions:
- Battery Optimization bypass.
- System Alert Window (Overlay).
- Schedule Exact Alarms.
- ๐ผ Granular Media Support (Android 13+):
mediaImages,mediaVideo, andmediaAudiosupport.
โ Supported Permissions #
- General: Camera, Microphone, Location (Always/InUse), Contacts, Phone, Notifications, Photos, Storage.
- Bluetooth:
bluetooth,bluetoothScan,bluetoothConnect,bluetoothAdvertise. - Connectivity:
nearbyDevices. - Productivity:
calendar. - Messaging:
sms,sendSms(Android). - Health:
activityRecognition. - Media:
accessMediaLocation.
๐ฑ Supported Statuses #
granted,denied,permanentlyDenied(Android),restricted(iOS/macOS),limited(iOS/macOS Photos).