Skip to content
pubscout

managed_configurations

1.2.0, released 5 months ago by an unverified publisher

Plugin to read managed app configurations provided by mobile device management (MDM).

$ flutter pub add managed_configurations
Source repository

What it does

Allows Flutter apps to read managed app configurations supplied by a Mobile Device Management (MDM) provider. It provides methods to fetch the configuration and a stream to listen for configuration changes, as well as reporting app states on Android.

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

Use it when

  • You need to read MDM-managed app configurations on Android, iOS, or macOS.
  • Your app needs to react to changes in managed configurations via a stream.

Skip it when

  • You do not use an MDM provider for enterprise configuration.
  • You only need standard local key-value storage without MDM integration.

Strengths

  • Supports Android, iOS, and macOS platforms.
  • Provides both a one-time fetch method and a reactive stream for configuration changes.
  • Supports reporting state via KeyedAppStatesReporter on Android.

Weaknesses

  • Testing on iOS and macOS requires an actual MDM provider since Apple does not provide a local development environment.
  • Limited to reading managed app configurations and reporting states.

Setup

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

Requires testing setup using an MDM provider (such as Relution for iOS/macOS) or TestDPC for Android.

final managedConfig = ManagedConfigurations();
final managedAppConfig = await managedConfig.getManagedConfigurations;

managedConfig.mangedConfigurationsStream.listen((managedAppConfig){
    print(managedAppConfig);
});

Alternatives

Packages that do the same job and could replace managed_configurations.

Works with

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