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.
https://developer.android.com/work/managed-configurations
It could be that you need to factory reset your android device before installing TestDPC for testing.
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);
});