app_permission_manager 2.0.0
app_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 #
🚀 Major Architecture & Feature Update #
- 🏗 Federated Structure: Completely refactored to a federated plugin architecture for better cross-platform support.
- 🌐 New Platform Support:
- Web: Initial support using
package:weband Browser Permissions API. - macOS: Added native Swift implementation with full feature parity.
- Windows: Added C++ infrastructure and basic permission check support.
- Web: Initial support using
- 🖼 Android 13+ Media Permissions: Added granular support for
mediaImages,mediaVideo, andmediaAudiowith backward compatibility. - 📦 Multiple Permissions: Added
checkMultiple()andrequestMultiple()for batch operations. - 📡 Real-time Updates: Added
statusStream()to listen for permission status changes. - 🤖 Specialized Android Permissions: Added support for Battery Optimization, Overlay, and Exact Alarms.
- 🔧 iOS Improvements: Refactored Swift code for robustness and added support for real-time stream updates.
1.0.0 #
🎉 Initial Release #
- Initial release of
app_permission_manager - Simple and unified permission API for Flutter
- Support for Android and iOS
- Check and request permissions
- Open app settings when permission is permanently denied
✅ Supported Permissions #
- Camera
- Microphone
- Location (when in use)
- Location (always / background)
- Storage
- Photos
- Notifications
- Contacts
- Phone
📱 Supported Permission Status #
- granted
- denied
- permanentlyDenied (Android)
- restricted (iOS)
- limited (iOS Photos)
🔧 Platform Notes #
- Android runtime permission handling
- iOS permission handling using native frameworks
- iOS permission descriptions must be added in
Info.plist - Android permissions must be declared in
AndroidManifest.xml