Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3081

Detect Workplace sites to redirect users to Workplace app

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.7.0
    • Fix Version/s: 3.7.1
    • Component/s: Others
    • Labels:
    • Testing Instructions:
      Hide

      Use any device of your choice.

      1. Before updating the app, add a workplace site.
      2. Update the app.
      3. If the token is not yet expired, expire it using the website.
      4. Try to re-connect to the site added.
      5. Check an error message is displayed that says you have to use the workplace app to enter there.
      6. Check you are logged out of that site.
      7. Check you have to enter password again every time you try to enter.
      8. Now, delete the site and add it again.
      9. Check message on step 5 is shown and site is not added.

      Test on iOS and Android.

      1. Do some checks you did before to make the message on step 5 is shown.
      2. Click on the Download button and check it goes to the correct market and correct app.
      Show
      Use any device of your choice. Before updating the app, add a workplace site. Update the app. If the token is not yet expired, expire it using the website. Try to re-connect to the site added. Check an error message is displayed that says you have to use the workplace app to enter there. Check you are logged out of that site. Check you have to enter password again every time you try to enter. Now, delete the site and add it again. Check message on step 5 is shown and site is not added. Test on iOS and Android. Do some checks you did before to make the message on step 5 is shown. Click on the Download button and check it goes to the correct market and correct app.
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle App 3.7.1

      Description

      The Moodle app should detect if the user is connecting to a Workplace site to force the logged in user to use the Workplace app instead.

      The detection must be done once the user is logged-in, we should retrieve the list of Web Services enabled in the site and when we detect, at least, one that belongs to a Workplace plugins, logout the user and display a message with the link to download the Workplace app.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                30/Aug/19