We have managed to include Microsoft Intune MAM support in to our flutter app. Currently having million of users, some of our customers wanted to manage the app from intune.
When accompanied with the company portal app on the device, we've shipped a version in the play and apple store with MAM intune policies enforced. We used the Android aar and the IOS framework. No need for MSAL was needed, as we did not know the MSAL clientid at compile time.
Flutter 3.24.4 • channel stable • https://github.com/flutter/flutter.git
Android: Added the aar file and used the gradle script provided by Microsoft to handle all the class renames. Used the MAMComponents for a channel call from flutter to check on policies and user entraid.
IOS: Added the MAM swift frameworks and msal framework. Used AutoEnrollOnLaunch to enroll the known entra id from company portal.