All Categories
  • 1st Steps
  • Authentication
  • Branding
  • Changelogs
  • Collaboration
  • Compliance
  • Customization
  • Desktop Client
  • External Storage
  • Frequently Asked Questions
  • Installation
  • Migrations
  • Mobile Clients
  • Nextcloud Context Chat
  • Nextcloud Flow (Windmill integration)
  • Nextcloud Talk
  • Operations
  • Partner Products
  • Roundcubemail
  • Scalability
  • Security
  • Mobile Device Management on Android

    Overview

    MDM (Mobile Device Management) is a way to remotely configure, monitor, and manage mobile devices and apps.

    It allows admins to:

    • Configure app settings

    Prerequisites

    To use application restrictions on Android, the device must be managed by an enterprise mobility solution based on Android Enterprise.

    This ensures that an administrator (or “Restrictions Provider”) can enforce and deliver configurations to applications.


    How it Works

    The application:

    • Uses android.content.RestrictionsManager to read restrictions
    • Defines available configuration keys in an XML file
    • Declares this XML in the app manifest using a meta-data tag

    Available Restrictions

    Key Type
    proxy_host string
    proxy_port integer
    base_url string
    disable_multiaccount bool
    disable_sharing bool
    disable_clipboard bool
    disable_more_external_site bool
    disable_intro bool
    disable_log bool
    enforce_protection bool

    How to Deploy Configuration Profiles

    1. The app is installed on managed devices
    2. The MDM / Restrictions Provider reads the app’s restrictions XML
    3. Available configuration options (e.g., enforce_protection, disable_sharing) are displayed in the admin console
    4. The admin sets desired values
    5. These values are pushed to the device
    6. The app reads and applies them at runtime

    No changes to the app are required after deployment. The configuration is fully controlled externally.