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

Change header on requests to differ from non app

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.3.0
    • Component/s: Web Services
    • Labels:
    • Testing Instructions:
      Hide
      1. Using a build from PhonegapBuild
      2. Open the "Check user agent resource" in prototype 3.2 "Moodle Mobile Developer testing course" course
      3. Check that you see MoodleMobile appended to the UserAgent displayed in that page
      4. Go to Settings -> About and check that in the User Agent field you see MoodleMobile appended as well.
      Show
      Using a build from PhonegapBuild Open the "Check user agent resource" in prototype 3.2 "Moodle Mobile Developer testing course" course Check that you see MoodleMobile appended to the UserAgent displayed in that page Go to Settings -> About and check that in the User Agent field you see MoodleMobile appended as well.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Sprint:
      Moodle Mobile 3.3.0

      Description

      There are two ways to do that:

      1. Append text to User agent to differ app requests: AppendUserAgent('MoodleMobile') can be done.
      2. Add a new header with custom text.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jleyva Juan Leyva
              Reporter:
              pferre22 Pau Ferrer
              Peer reviewer:
              Pau Ferrer
              Integrator:
              Juan Leyva
              Tester:
              Juan Leyva
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                26/May/17