Skip to content
pubscout

permission_manager

2.0.9, released 8 months ago by manojdev.online

Check and request app permissions across Android, iOS, Web, Windows, macOS, and Linux.

WASM-ready
$ flutter pub add permission_manager
Source repository

What it does

Provides a unified API to check, request, and listen to permission states across multiple platforms. Supports a wide range of specific permissions including camera, location, Bluetooth, and platform-specific options like battery optimization or notifications.

AI-written summary of version 2.0.9, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to handle device permissions across all six Flutter platforms with a single API.
  • Your application requires streaming permission status changes in real-time.

Skip it when

  • You are already using an established ecosystem alternative like permission_handler and do not require cross-platform support for Linux/Windows via this specific plugin.

Strengths

  • Supports all six Flutter platforms including Linux and Windows.
  • Real-time updates via permission status streams.
  • Granular support for Android 13 media permissions and specialized options.

Weaknesses

  • Requires manual configuration of platform-specific files like AndroidManifest.xml, Info.plist, and macOS entitlements.
  • Some permissions are limited or unsupported on specific platforms like the Web.

Setup

Kind
Plugin (native code)
Effort
Medium
Code generation
No
Direct dependencies
2

Requires adding permissions and usage descriptions to AndroidManifest.xml, iOS Info.plist, and macOS Info.plist/Entitlements files.

import 'package:permission_manager/permission_manager.dart';

final status = await PermissionManager.request(
  PermissionManagerPermission.camera,
);

if (status == PermissionManagerStatus.granted) {
  // Permission granted
}

Alternatives

Packages that do the same job and could replace permission_manager.

Works with

Packages commonly used together with permission_manager: ones it builds on, ones built on it, and its own family.