Moodle comes with a built-in web service designed for mobile applications. It is required to run the official Moodle app. Enable it only if you want people to use the official app or if a third-party app explicitly requires it.
If your site uses HTTPS, mobile web services are enabled by default.
Enabling mobile web services
To enable mobile web services
- Go to Site administration > Advanced features.
- Check 'Enable web services for mobile devices' and save changes.
The rest of this page explains the "behind the scenes".
What happens when the service is enabled
Enabling the mobile web services will automatically:
- enable the web services system (in Site administration > Advanced features)
- enable the built-in external service called 'Mobile web services' - you should see this new mobile service listed as enabled
- enable the rest protocol
- allow the 'webservice/rest:use' capability for authenticated user role
Disabling mobile web services
When you uncheck 'Enable mobile web services', it will automatically disable the external service called 'Mobile web services'.