permission_manager 2.0.1 copy "permission_manager: ^2.0.1" to clipboard
permission_manager: ^2.0.1 copied to clipboard

A Flutter plugin to check and request app permissions on Android and iOS using a unified and simple API.

2.0.1 #

  • ๐Ÿ› Fixed Swift switch-case compilation error on iOS/macOS

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.swift for 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_docs lint 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() and requestMultiple().
  • ๐Ÿค– Specialized Android Permissions:
    • Battery Optimization bypass.
    • System Alert Window (Overlay).
    • Schedule Exact Alarms.
  • ๐Ÿ–ผ Granular Media Support (Android 13+):
    • mediaImages, mediaVideo, and mediaAudio support.

โœ… 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).
12
likes
0
points
451
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to check and request app permissions on Android and iOS using a unified and simple API.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_web_plugins, plugin_platform_interface, web

More

Packages that depend on permission_manager

Packages that implement permission_manager