headwind_plugin 0.2.1
headwind_plugin: ^0.2.1 copied to clipboard
Flutter plugin that bridges Headwind MDM (h-mdm.com) per-device managed configuration to Dart. Android-only: binds to the on-device com.hmdm.launcher and streams config snapshots.
0.2.1 #
- Prefer live Headwind SDK values first, falling back to
RestrictionsManageronly when the SDK omits an attribute. This avoids pinning managed devices to stale system-cached restriction values. - Tighten
connect()success reporting soRestrictionsManageronly counts when the device actually has app restrictions available. - Update Dart and Android API docs to match the SDK-first resolution order.
- Add an Android example app that demonstrates connect, refresh, SDK-only mode, device id lookup, and live config snapshots.
0.2.0 #
- Read managed config from Android
RestrictionsManageras the primary source, falling back to the Headwind MDM SDK per attribute. - Add a
preferSdktoggle (constructor arg +setPreferSdk) to read straight from the SDK and bypassRestrictionsManager. - Re-read config on the system
ACTION_APPLICATION_RESTRICTIONS_CHANGEDbroadcast;isManagedandconnectnow also account for restrictions.
0.1.0 #
HeadwindMdmDart API:connect,refresh,isManaged,getDeviceId,snapshotsstream, and opt-out foreground auto-refresh (refreshOnResume).- Android
HeadwindPlugin: pureFlutterPluginbinding the Headwind MDM SDK with the application context; bundles the SDK AAR and the launcher<queries>manifest entry.