managed_configurations 1.0.0 copy "managed_configurations: ^1.0.0" to clipboard
managed_configurations: ^1.0.0 copied to clipboard

Plugin to support managed app configuration provided by a Mobile device management (MDM).

managed_configurations #

Plugin to support managed app configuration provided by a Mobile device management (MDM)

Allows to read out Managed App Configuration. Provides a method and a stream which calls on managed app configuration changes.

Additional Information #

https://developer.android.com/work/managed-configurations

Test on Android: #

It could be that you need to factory reset your android device before installing TestDPC for testing.

How to use #

To get managed app configuration call:

final managedAppConfig = await ManagedConfigurations.getManagedConfigurations;

To listen for managed app config changes subscribe to the stream:

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

(Android) Report state with KeyedAppStatesReporter #

For more info please checkout Android doc: https://developer.android.com/reference/kotlin/androidx/enterprise/feedback/KeyedAppStatesReporter

   ManagedConfigurations.reportKeyedAppStates("key", Severity.SEVERITY_INFO, "message", "data");
13
likes
140
pub points
85%
popularity

Publisher

unverified uploader

Plugin to support managed app configuration provided by a Mobile device management (MDM).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on managed_configurations