Mobile Device Management MDM setup for corporate mobile app

TRUETECH is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Mobile Device Management MDM setup for corporate mobile app
Complex
~3-5 business days
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1054
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Configuring Mobile Device Management (MDM) for Corporate Mobile Apps

MDM is not "install antivirus on a phone". It's a device management protocol controlled from a server that allows forced app installation, security policy enforcement, data deletion, and configuration control without user involvement. For a corporate mobile app, MDM integration is the difference between "employee can uninstall the app" and "app is always present on fleet devices".

Apple MDM Protocol and Managed Devices

Apple MDM is built on push-pull protocol: MDM server sends push notification via APNs (MDM topic), device "pulls" command from server, executes it, sends result back. All commands and responses are XML plist over HTTPS.

For a device to become managed:

  • Supervised mode via Apple Configurator 2 or ABM (Apple Business Manager)—maximum control. Only Supervised devices support app deletion blocking, Silent Install without user consent, Single App Mode.
  • User Enrollment (iOS 13+)—device belongs to employee (BYOD), MDM manages only Managed Apple ID zone. Apps can be force-installed in managed space; personal data inaccessible.

For corporate app on managed device, key MDM commands:

Command Description
InstallApplication Silent install from App Store VPP or enterprise IPA
RemoveApplication Remove without consent
LockDevice Immediate screen lock
EraseDevice Factory reset—on theft/dismissal
Restrictions Disable AirDrop, iCloud backup, screenshot

Managed App Configuration—mechanism for passing config to app via MDM without hardcoding. App reads dictionary from UserDefaults with suffix .managed:

let managedConfig = UserDefaults.standard.dictionary(forKey: "com.apple.configuration.managed")
let backendURL = managedConfig?["BackendURL"] as? String
let tenantID = managedConfig?["TenantID"] as? String

MDM server sends AppConfiguration plist on install or via separate InstallApplication command with ManifestURL. Employee doesn't see or change these parameters.

Android Enterprise: Work Profile and Fully Managed

Android Enterprise—analog to Apple MDM with more flexible deployment models.

Fully Managed Device (COBO—Corporate Owned Business Only). Device configured via DPC (Device Policy Controller) on initial boot: QR-scanning or NFC bump. DevicePolicyManager provides full control: app installation, network policies, forced VPN, hardware button blocking.

Work Profile (COPE/BYOD). Managed profile created next to personal space. Corporate apps—in Work Profile with separate launcher and portfolio icon. IT manages only Work Profile; personal data inaccessible.

Key class for Fully Managed—DevicePolicyManager:

val dpm = getSystemService(DEVICE_POLICY_SERVICE) as DevicePolicyManager
val adminComponent = ComponentName(this, DeviceAdminReceiver::class.java)

// Force package installation
dpm.setAlwaysOnVpnPackage(adminComponent, VPN_PACKAGE, true, null)

// Block uninstall
dpm.setUninstallBlocked(adminComponent, TARGET_PACKAGE, true)

// Managed Config for app
val bundle = Bundle().apply {
    putString("backend_url", "https://corp.example.com")
    putString("tenant_id", "CORP-001")
}
dpm.setApplicationRestrictions(adminComponent, TARGET_PACKAGE, bundle)

Choosing MDM Server

Solution Platforms Features
Microsoft Intune iOS, Android, Windows Azure AD integration, Conditional Access
Jamf Pro iOS, macOS Best for Apple fleet
VMware Workspace ONE iOS, Android MDM + MAM + VPN in one
MobileIron (Ivanti) iOS, Android Mature enterprise, on-premise possible
Open-source: MicroMDM iOS only Self-hosted, no MDM UI

For homogeneous Apple fleet—Jamf. For Microsoft-centric infrastructure—Intune. For mixed fleet with on-premise requirement—MobileIron/Ivanti or Workspace ONE.

App Integration with MDM: What Developer Must Do

MDM manages device, but app must "know" its managed status:

  • Check Managed App Configuration on launch and on UIApplicationWillEnterForeground.
  • React to MDM Remote Wipe: clear Keychain, database, cache.
  • Support openURL scheme for enrollment deeplink.
  • If using MAM SDK (Intune App SDK, Workspace ONE SDK)—integrate for policy enforcement at app level, not just device level.

Setup Stages

Inventory devices → choose MDM platform → enrollment strategy (ABM, QR, manual) → create profiles and policies → VPP/Managed Google Play setup for apps → Managed App Configuration for corporate app → pilot group → rollout → compliance monitoring.

Timeline: basic MDM setup for existing device fleet—2–4 weeks. Full rollout with app integration, enrollment workflow, and IT training—6–10 weeks. Cost is calculated individually.