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

Allow configuring a set of sites for custom apps

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.4.0
    • 3.3.2
    • Authentication
    • Hide
      1. Setup the development environment for the app and select the branch in this issue.
      2. Open the file config.json and add some fixed sites. E.g.:

        "siteurl": [
            {"name": "Proto 3.3", "url": "https://prototype.moodle.net/mobile/moodle33/"},
            {"name": "Proto 2.6", "url": "https://prototype.moodle.net/mobile/moodle26/"},
        ]
        

      3. Install the app in a device or run it in browser (make sure gulp is run when doing so).
      4. Click to add a new site. Check that you see a selector with the fixed sites.
      5. Check that selecting each site and clicking Connect allows you to connect to the right site.
      Show
      Setup the development environment for the app and select the branch in this issue. Open the file config.json and add some fixed sites. E.g.: "siteurl": [ {"name": "Proto 3.3", "url": "https://prototype.moodle.net/mobile/moodle33/"}, {"name": "Proto 2.6", "url": "https://prototype.moodle.net/mobile/moodle26/"}, ] Install the app in a device or run it in browser (make sure gulp is run when doing so). Click to add a new site. Check that you see a selector with the fixed sites. Check that selecting each site and clicking Connect allows you to connect to the right site.
    • MOODLE_33_STABLE
    • MOODLE_34_STABLE
    • Moodle Mobile 3.4.0

      In config.json we have a siteurl setting to allow configuring a fixed URL for custom apps. Some institutions might have more than one site, so we should allow configuring a set of sites.

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Votes:
            0 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.