easy_permissions_manager 0.0.3 copy "easy_permissions_manager: ^0.0.3" to clipboard
easy_permissions_manager: ^0.0.3 copied to clipboard

A robust, JSON-based Flutter permission manager for Android, iOS, and Web. Handles configurations, UI prompts, and native setup automatically.

0.0.3 #

  • Bug fix: notifications web-unsupported check now correctly matches the 'notifications' JSON key (was 'notification' — would have caused web crashes).

  • New: EasyPermissions.initFromString(String json) — initialize from a raw JSON string, useful for remote config and unit tests.

  • New: EasyPermissions.reset() — clears loaded config; makes unit testing clean.

  • New: EasyPermissions.openSettings() — convenience wrapper around openAppSettings() for permanently-denied flows.

  • New: locationAlways config key — requests background location (ACCESS_BACKGROUND_LOCATION on Android, NSLocationAlwaysAndWhenInUseUsageDescription on iOS).

  • Setup tool — new flags:

    • --dry-run — preview changes without writing any files.
    • --remove-unused — remove disabled permissions from AndroidManifest.xml and Info.plist.
    • --config <path> — point to a custom JSON config path.
    • --verbose — log every permission, even unchanged ones.
    • --help — print usage.
  • Setup tool: Added ACCESS_COARSE_LOCATION alongside ACCESS_FINE_LOCATION for location.

  • Setup tool: Added READ_EXTERNAL_STORAGE alongside READ_MEDIA_IMAGES for photos (Android < 13 support).

  • Setup tool: Added phone and sensors to permission mappings.

  • Setup tool: Removed legacy BLUETOOTH / BLUETOOTH_ADMIN in favour of BLUETOOTH_SCAN + BLUETOOTH_CONNECT.

  • Setup tool: iOS notifications entry is no longer silently skipped — it correctly has no plist key (handled at runtime) and logs an informational message in --verbose mode.

  • Removed unused args dependency.

  • Updated permission_handler, args, path, and xml dependencies to latest stable versions.

  • Added type-safe API EasyPermissions.request(Permission permission) and EasyPermissions.check(Permission permission).

0.0.1 #

  • Initial release of EasyPermissions.
  • Supports JSON-based configuration.
  • Automated Android Manifest and iOS Info.plist setup.
  • Support for Camera, Location, Microphone, Photos, Contacts, Notifications, and Bluetooth.
  • Built-in error handling for Web.
0
likes
160
points
118
downloads

Documentation

API reference

Publisher

verified publishergreelogix.com

Weekly Downloads

A robust, JSON-based Flutter permission manager for Android, iOS, and Web. Handles configurations, UI prompts, and native setup automatically.

Repository (GitHub)
View/report issues

Topics

#permissions #flutter #android #ios #setup

License

MIT (license)

Dependencies

flutter, path, permission_handler, xml

More

Packages that depend on easy_permissions_manager