Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-63743

Allow admins to prevent users access the site using the official app

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.5.2
    • Administration
    • MOODLE_35_STABLE
    • MDL-63743-master
    • Hide
      1. Go to Site administration ►Mobile app ►Mobile features - Disabled features option
      2. Select the first item "Official app" and Save changes
      3. Open a terminal/console and execute the following command:
        • You need to replace the site URl with your local one

          curl 'http://localhost/m/stable_master/lib/ajax/service.php' --data-binary '[{"index":0,"methodname":"tool_mobile_get_public_config","args":{}}]' | python -m "json.tool"

      4. Check that in the WS response:
        • "tool_mobile_disabledfeatures" is set to "NoDelegate_OfficialApp",
        • "tool_mobile_androidappid" is set to "com.moodle.moodlemobile",
        • "tool_mobile_iosappid" is set to "633359593",
        • "tool_mobile_setuplink" is set to "https://download.moodle.org/mobile",
      Show
      Go to Site administration ►Mobile app ►Mobile features - Disabled features option Select the first item "Official app" and Save changes Open a terminal/console and execute the following command: You need to replace the site URl with your local one curl 'http://localhost/m/stable_master/lib/ajax/service.php' --data-binary ' [{"index":0,"methodname":"tool_mobile_get_public_config","args":{}}] ' | python -m "json.tool" Check that in the WS response: "tool_mobile_disabledfeatures" is set to "NoDelegate_OfficialApp", "tool_mobile_androidappid" is set to "com.moodle.moodlemobile", "tool_mobile_iosappid" is set to "633359593", "tool_mobile_setuplink" is set to "https://download.moodle.org/mobile",

      This is interesting for institutions using a branded app, sometimes they prefer to forbid users to use the official app.

      In order to do that we need to return via tool_mobile_ get_public_config WS:

      • The list of disabled features (we'll create a new "Official app" new one)
      • The app unique id for Google Play and the App Store
      • The setuplink field that contains the URL of the apps download page

      See MOBILE-2703 for more info

            jleyva Juan Leyva
            jleyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.