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

Missing Moodle app disable features settings for 3.9

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. As admin, enable "Mobile services": Plugins ► Web Services ► Mobile if it is not already enabled
      2. Go to Site administration ►Mobile app ►Mobile features - Disabled features option
      3. Select the following
        1. "Main Menu -> Scan QR code"; and
        2. "External tool -> Open using embedded browser" options
      4. Save changes
      5. Open a terminal/console and execute the following command:

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

      6. Check that in the WS response, in the tool_mobile_disabledfeatures value field, you see
        • The following values CoreMainMenuDelegate_QrReader and CoreCourseModuleDelegate_AddonModLti:openInAppBrowser
      7. Now, go back to Site administration ►Mobile app ►Mobile features - Disabled features option, and unselect all the options
      8. Execute the CURL request again and check that:
        • The tool_mobile_disabledfeatures value is empty
      Show
      As admin, enable "Mobile services": Plugins ► Web Services ► Mobile if it is not already enabled Go to Site administration ►Mobile app ►Mobile features - Disabled features option Select the following "Main Menu -> Scan QR code"; and "External tool -> Open using embedded browser" options Save changes Open a terminal/console and execute the following command: curl 'YOUR_SITE_WWWROOT/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, in the tool_mobile_disabledfeatures value field, you see The following values CoreMainMenuDelegate_QrReader and CoreCourseModuleDelegate_AddonModLti:openInAppBrowser Now, go back to Site administration ►Mobile app ►Mobile features - Disabled features option, and unselect all the options Execute the CURL request again and check that: The tool_mobile_disabledfeatures value is empty
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-69031-master

      Description

      Some new features were added to the app at the last minute that should be made available in 3.9

      Specifically, allowing switching to launch LTI activities into a new way (using the external browser instead of launching in the InApp or embedded one)
      CoreCourseModuleDelegate_AddonModLti:openInAppBrowser

      Apart from that the new "Scan QR code" menu option is missing

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jleyva Juan Leyva
              Reporter:
              jleyva Juan Leyva
              Peer reviewer:
              Dani Palou
              Integrator:
              Andrew Nicols
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Jul/20

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 6 minutes
                  1h 6m