Why a self-hosted Moodle needs deliberate mobile app setup
Learners expect the Moodle app on their phones, but the app does not work against a self-hosted site until you deliberately expose the right mobile web services, configure how the app connects, and reach the push notification infrastructure that delivers alerts. On a site you run yourself, none of this is switched on by default in a way that matches your security review. Treat mobile access as a project with its own decisions, not as a checkbox that appears after the site goes live.
The official Moodle app is a client. It signs a user in, calls web service functions on your Moodle site, and caches the responses it needs for offline use. Which functions it can call depends on the mobile services you enable, the web service tokens it receives, and the roles and capabilities of each user. Push notifications add a second path: the site sends a message to a push relay service, which delivers it to the device. Your team has to confirm which relay the site uses, whether it can reach it from your network, and what message content leaves your infrastructure. Check the mobile settings and the current push configuration against the release you run, since both change between versions.
Teams usually need this work when learners or staff are expected to study, submit work or receive alerts away from a desk, or when a branded app is part of the rollout. Each option affects the security review: which web services are exposed to mobile clients, how long tokens live, whether single sign-on works inside the app's browser flow, whether offline data is stored on devices you do not manage, and what leaves your network through push. Ask your Moodle partner, or your own team, to write these choices down with the owner of each one before the app is announced. The rest of this page takes each decision in turn.
Which app option fits which organization
This table compares the official Moodle app used as delivered, a branded app built from the Moodle app source, and a custom app that calls web services directly. Read each column as a separate path, checking what it requires, who maintains it and when it fits your organization. The main takeaway is that the more the app departs from the official build, the more ongoing build and release work your team or partner takes on.
| Option | What it requires | Who maintains it | When it fits |
|---|---|---|---|
| Official Moodle app, default configuration | Mobile web services enabled on your site, a reachable HTTPS address, and a site URL users can enter in the app | Moodle HQ maintains the app; your team maintains the site and its mobile service settings | Organizations that need learners and staff on mobile without a separate app identity or custom screens |
| Branded app built from the Moodle app source | A build pipeline, store accounts for each platform, signing keys, and a configured app identity matched to your site | Your team or a partner maintains the fork, rebuilds it for each Moodle app release, and resubmits it to app stores | Organizations that need their own app name, icons and sign-in presentation and can fund ongoing rebuilds |
| Custom app using web services directly | Web service functions exposed on the site, a token or OAuth model, and an app team that builds every screen | Your app team or partner maintains the app and must track web service changes with each Moodle release | Organizations with a specific mobile workflow that the official app cannot support and a long-term app owner |
| Sign-in through SSO or MFA in the app | Confirm in your environment whether your identity setup works in the official app and in each custom build | Shared between your identity team and the app maintainer | Any option where the sign-in path must match staff and learner policy |
| Offline access and push notifications | Confirm offline and push behavior for your Moodle version and each build option before committing | Site team configures; app maintainer delivers the client behavior | Organizations where field work or notification reach drives adoption |
| Security review of mobile services | Review enabled web service functions, token lifetimes and who can create tokens for the app | Your security team reviews; site administrators apply the settings | Every option, since each one exposes site functions to a mobile client |
How to set up the Moodle app on your own site
This sequence takes a self-hosted Moodle from a confirmed version and web root to a tested, staged rollout of the official Moodle app. Each step closes with a check you can record before moving on.
Confirm the Moodle version and document root
Your platform or site administrator checks the installed Moodle version against the release you plan to run, then confirms the PHP, database and web server versions meet that release's requirements. If you run Moodle 5.1 or later, the web server document root must point to the new /public directory rather than the main Moodle folder, or the site may show directory listings or errors. Done means the version, runtime stack and document root are written down, and the site loads correctly through the public address without listings or errors.
Enable mobile web services and app settings
A Moodle administrator enables the mobile web service and sets the mobile app options in site administration, including which features the app may show and whether the site allows the app to be used at all. Review the web services section so that only the functions the app needs are exposed, and record which service account or token type the app uses. Done means a test call from the app's login flow reaches your site and returns the site information page without errors.
Configure sign-in and SSO for the app
Your identity team and Moodle administrator decide how mobile users authenticate, whether with a local Moodle account, an identity provider through an authentication plugin, or multi-factor authentication. Test each method against the app specifically, because a browser sign-in that works can still fail in the app's embedded flow if redirect addresses or session settings are wrong. Confirm with your identity provider that the mobile redirect addresses are registered. Done means a test account signs in through every method you plan to offer, on the app, and the session is accepted by the site.
Set offline access and push notification options
Decide which content learners may download for offline use, then check that the site's file and course settings allow those downloads. For push notifications, confirm with Moodle's documentation and your own environment how the push service connects to your site, and which notification types reach mobile users. Record the settings that drive data use on devices and the notifications you expect learners to receive. Done means a test course has an offline-enabled resource that downloads and opens without a connection, and a test notification arrives on a test device.
Test the app on real devices
Your QA team installs the official Moodle app on a range of iOS and Android devices and operating system versions your learners actually use, then runs scripted scenarios: sign-in, course navigation, quizzes, assignment submission, offline download and push delivery. Include a device on a poor network and a test account with restricted roles. Log every failure with the device, app version and site version. Done means the scenarios pass on each device class, and any open defects have an owner and a fix or documented workaround.
Review security settings before the rollout
Your security team reviews the mobile-related settings against your own policy: exposed web service functions, token lifetimes, access to files, device session handling and who can change the mobile settings. Confirm that the app's access follows the same roles and course permissions as the browser. Ask your implementation partner or Moodle's security documentation which controls apply to your version. Done means a signed-off review lists each setting, its value and the reason it was chosen.
Roll out the app to learners in stages
Communications and support staff publish instructions for installing the app and pointing it to your site address, then release it to a pilot group before the full population. Watch sign-in failures, support tickets and error logs during the pilot, and fix issues before widening access. If you plan a branded app, confirm its build, signing and store publishing steps separately with your own environment before the pilot starts. Done means the pilot group completes a full learning task on the app, the support queue has a documented process for app issues, and the full rollout has a named owner.
Security settings to review before learners install the app
Enabling mobile access widens what a self-hosted Moodle exposes to phones that you do not fully control. The items below are review points for the administrators who own the site, not controls that Moodle guarantees on its own. Work through them together so that web services, tokens, device storage, notifications and logs reflect one decision about who may use the app and what data it may hold.
Enabled web services and functions
The official app calls Moodle web service functions through the mobile service, so the set of functions behind that service defines what an app session can read or change. Review which external services are enabled, remove any function the app does not need, and check that the service is limited to the roles and users who should use it. Record the list as part of your configuration baseline so that later plugin installs that add functions are noticed. Confirm the exact function list for your Moodle version with your own site before go-live.
Plugin types docsToken lifetimes and who issues them
Mobile sessions depend on tokens, and the lifetime and issuing rules determine how long a lost or resold phone remains usable. Check the session and token settings in Moodle, decide whether learners can request tokens through the app login only, and confirm which roles may create web service tokens for other accounts. Ask your team to test what happens when a user is suspended or a password is reset, because tokens already issued may need to be revoked explicitly. Document who is responsible for revocation.
Offline data stored on devices
The app can keep course content and submissions on the device so learners work without a connection. That copy lives outside your server controls, so it matters what categories of content are cached, how long they stay, and what happens at sign-out. Decide with your data protection lead whether assessment material or personal records should be available offline at all. Ask your vendor or test lab to confirm what the current app version stores locally and how it clears that data.
Push notification content
Push notifications pass through external notification services, so the text of a message can reach devices and third-party infrastructure before a learner opens the app. Review the notification types enabled for mobile, and decide whether messages should carry only a generic alert that points back into Moodle. Check whether grades, feedback or personal details appear in notification bodies, and confirm with your legal and privacy team whether that transfer is acceptable for your student population.
Administrator logging of app activity
Logs show whether mobile access is being used as intended and help investigate misuse of tokens or accounts. Confirm that the Moodle logs record web service calls and sign-ins from the app, that the log retention period meets your policy, and that administrators can filter by mobile or web service events. Test the log view with a sample device login so your security team knows what evidence exists before an incident. Logs are only useful if someone reviews them, so assign that duty in your operating procedures.
What push notifications need from your infrastructure
Push notifications in the Moodle app do not travel from your server straight to a phone. The site sends a message to an external notification relay, and that relay passes it on to the device platform. This means the feature only works if your Moodle server can make outbound HTTPS connections to the relay endpoint, and if your firewall, proxy or egress allow-list permits that traffic. Before enabling push, confirm the relay address your release uses, the ports it needs, and whether your proxy settings apply to Moodle's outbound calls. Check this with the Moodle documentation for your specific release, because the relay setup and its requirements are the kind of detail that changes between versions. If your Moodle sits in a constrained network, test a notification end to end from that network, not just from a workstation.
Data leaving the site is the second decision. A push message carries content from your site, and depending on the notification type it can include a course name, a activity title, a message excerpt or a user name. Your data handling policy should say which categories of data may leave your infrastructure, whether a relay operated outside your jurisdiction is acceptable, and who approves that. Ask your privacy or compliance lead to review the notification types you plan to enable, then turn off the ones that expose content you cannot send externally. Record the review and the decision so that auditors and your security team can trace why each notification type is on or off.
Finally, plan for the relay to be unavailable or changed. Ask the Moodle team or your partner which site registration step ties your installation to the relay, what happens if the site registration expires, and how you would monitor delivery failures through Moodle's logs and scheduled tasks. Write these checks into your operations runbook so a silent loss of notifications is noticed within a working day rather than reported by learners.
Limits to confirm in your environment
Mobile support for a self-hosted Moodle depends on a chain of versions, server requirements, offline coverage, devices and installed plugins. Each of the cards below is a limit to confirm against your target release and your own site, not assume from general documentation.
Release and app version pairing
Confirm which Moodle release you will run and which Moodle app version supports it before you plan the rollout. Moodle ships major releases in April and October and point releases every two months, so the pairing can shift during a project. Check the mobile app compatibility notes for your exact release line, and record the pairing in your change plan so that a Moodle upgrade triggers a review of the app version as well.
Moodle releasesPHP and database requirements
Target-specific server requirements decide whether your current stack can run the release at all. For Moodle 5.1 the release notes call for 64-bit PHP 8.2 or later, and for Moodle 5.3 for PHP 8.3 or later with PostgreSQL 17 or MariaDB 11.4. Confirm your database version and PHP runtime against the notes for the release you choose, and confirm the upgrade starting version rule before you schedule any change.
Moodle 5.3 notesOffline feature coverage by activity
Offline access in the Moodle app does not cover every activity type in the same way. Before you promise learners offline work, list the activities your courses use, such as quizzes, assignments, forums, and H5P or SCORM content, and test each one on the app version you will deploy. Record which activities sync later and which need a connection, so course authors do not design around features that will not work offline.
Device and operating system support
Support for iOS and Android versions moves with each app release, and older devices may lose support before your learners stop using them. Ask the vendor for the supported operating system versions for the app release you plan to use, then check your learner device mix through your identity or device data. Decide in advance how you will handle learners on unsupported devices, such as a browser fallback or a device refresh plan.
Plugin effects on mobile behavior
Third-party activity, block and theme plugins may not expose their content through the mobile web services that the app uses. Each plugin you install can change what appears in the app, how it renders, and whether it works offline. Review every plugin on your mobile test list against the app, and confirm each plugin's maintenance status for the Moodle release you run, because an unmaintained plugin can break mobile sync after an upgrade.
Moodle plugin typesWeb services and token configuration
The app depends on the mobile web service being enabled and on functions in the service being available to the users who sign in. Confirm which web service functions your target release exposes to the app, and confirm which service accounts or roles your security team must approve. Token lifetime and the way tokens interact with your single sign-on setup need a review before go-live, since they set how long a lost device keeps access.
Questions teams ask before enabling the Moodle app
What drives the cost of enabling the Moodle app on our own site?
The cost comes mostly from the people doing the work, and the main variables are how many integration points you need and how much testing your environment requires. Enabling mobile web services on a standard Moodle site is a small configuration task, but sign-in, push notifications, offline behavior and network routing each add design and test effort. Your own team pays for internal time from identity, network and Moodle administrators, while an implementation partner charges for the written scope. Ask any quote to separate one-time setup (configuration, testing, documentation) from recurring work (upgrades, app version checks and monitoring).
How long does a typical Moodle app setup take?
Duration depends on scope more than on the app itself. A site using username and password sign-in with no push notifications can be tested in a short cycle, while a site with SSO, a push notification relay, offline requirements and a branded app needs more review and device testing. No fixed duration is set here, so ask any provider for a timeline tied to a written scope with named phases: configuration, sign-in testing, notification testing, device testing and sign-off. Also confirm when your Moodle version's release schedule affects the window, since your site should run a supported release before you change mobile settings.
What must our internal team provide before the engagement starts?
Your team provides the access and decisions that only your organization can make. In practice this means:
- An identity contact who can confirm how sign-in works, including any SSO provider and the users who must be covered
- A network contact who can confirm routing, HTTPS certificates and whether mobile devices reach the site from outside your network
- A Moodle administrator account with rights to change mobile web services and site settings
- A set of test devices and test accounts for iOS and Android, covering each role your learners and staff use
Ask for this list in writing at the start so delays are visible early.
Can our own team enable the Moodle app without a partner?
Yes, a capable Moodle administrator can enable mobile web services and test basic sign-in without outside help. The harder parts are the ones that touch other systems: SSO configuration, push notification delivery through the Moodle app services, offline behavior and security review of exposed web services. Teams often do the basic setup in-house and bring in a partner for the security review or the branded app. Decide which parts your team owns before you start, and check that the people doing the work can test on real devices.
Which security settings should we review before enabling mobile access?
Review the web service settings first, because mobile access depends on them. Check which web service functions are enabled, which roles can use them, how tokens are issued and how long they last, and whether the site is reachable over HTTPS only. Confirm that the sign-in method you choose matches your identity policy, including multi-factor authentication where it applies. Also check which services are exposed externally and document the review so your security team can approve it. Your own security settings report in Moodle is a useful starting point, and your security team should confirm the exact configuration against your policy.
When does a branded app add effort to the project?
A branded app adds effort when you need your own app name, icons, store listings and release process, because the build, signing and store submission are separate from the site configuration. Expect extra work for store accounts, code signing, a release cadence that follows Moodle's app updates, and testing on each platform after every change. Ask whether the branded app is built from your own copy of the Moodle app source, who holds the store accounts, and who ships updates after handover. Licensing terms for the app and its branding should be confirmed with the owners of the project before you commit to a branded build.
What operational work continues after the Moodle app is live?
After launch, the recurring work is version alignment, monitoring and support. Each Moodle upgrade can change mobile behavior, so test the app against the new version before users receive it. Monitor sign-in failures, push notification delivery and web service errors in your logs, and keep a short runbook for common problems such as expired tokens or certificate errors. Ask any provider what they include in ongoing support and whether it is covered by a retainer or billed separately.
Does enabling the app change how our learners' data is handled?
Yes, mobile access creates new paths for data to reach devices, so the data handling review should come before go-live. Consider what user data the app caches for offline use, how long it stays on the device, and what happens when a device is lost or a user leaves. Confirm your data protection obligations with your privacy or compliance team, and record the decisions about caching and retention. The app behavior and cache options should be checked against the Moodle version you run, since these settings change between releases.
How app traffic, sign-in and push notifications flow
The flow starts on the learner's device, where the Moodle app connects to your site address. Sign-in is handed to your identity provider, and the result returns to Moodle, which issues the app its session. App requests then pass through mobile web services to the Moodle database inside your network. When a notification is due, Moodle sends a request to the external push relay, which delivers it to the device. Check exactly what data leaves your network at that step.
Traffic, sign-in and push paths across the organization's trust boundary.
How DeployOpen scopes and delivers mobile app work
DeployOpen scopes mobile app work as a fixed-scope project with the deliverables, timelines and acceptance criteria agreed in writing before any work starts. The scope usually covers four workstreams: configuring the mobile web services and the mobile app settings on your Moodle site, reviewing the security settings that touch mobile access, testing on the devices and app builds your learners actually use, and documenting what was set and why. Because the app connects to your own infrastructure, the written scope should name which Moodle version, which app release channel and which authentication method are in play, since each one changes the test matrix. A quote follows from that written scope, and DeployOpen does not publish a price list.
The configuration workstream covers the items this page describes: enabling the mobile web services, choosing the service that exposes the functions the app needs, deciding whether the app may use site-wide tokens, and setting the mobile-related options for offline access and push notifications. The security review workstream examines the same settings from the attacker's side: token lifetimes, which roles can call web service functions, whether the web service user is limited to the functions in use, how SSO and multi-factor sign-in behave inside the app's embedded browser, and what the app stores on a device. Device testing covers sign-in, course access, offline sync, notifications and any custom-branded build on both iOS and Android. Ask the provider to state which devices, operating system versions and app builds they will test, and who pays for any retest after a fix.
Ongoing work is handled separately. Moodle ships on a fixed release cycle, so the mobile configuration and the app build need checking whenever you upgrade Moodle or move to a new app release. DeployOpen offers retainers for that upgrade and regression work, plus periodic re-testing, and these recur on a schedule agreed in the contract. Ask the provider to confirm three things in the quote: what is one-time (the configuration, review, device testing and handover), what recurs (retainer hours or test cycles), and what triggers a change order (new device support, a branded app build, or an unplanned Moodle upgrade).
How DeployOpen works on Moodle mobile app projects
DeployOpen works on the Moodle mobile app for your own site as a scoped implementation inside infrastructure you control. We agree what the mobile services, sign-in path, notifications and any branded app cover before build starts, then test, document and hand the setup to your team.
How we scope
- Written scope fixes which mobile services, sign-in methods and notification paths are in the project
- We confirm your Moodle version and the app release your learners will install
- Scope records whether offline access, push notifications or a branded app are included
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts
How we build
- We enable and configure the mobile web services and token settings your scope requires
- We connect SSO and test sign-in through the app on supported devices and platforms
- We review mobile security settings, token lifetimes and exposed web service functions
- We test offline access and push notification delivery against your agreed user groups
How we hand over
- You receive a written record of configuration, service settings and the decisions behind them
- Test results list each sign-in, offline and notification case with its outcome and any fixes
- Administrators get steps for adding or retiring services and for handling app releases
- Your team receives a walkthrough of the setup so it can operate the site without us
How we support
- Ongoing support, upgrades and continuous testing are available as retainers
- Retainers can cover checks after each Moodle minor release and each app update
- We can retest mobile sign-in and notifications after changes to identity or network settings
- Support scope and response expectations are agreed in writing and confirmed before a retainer starts

