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

Improve development settings usage

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0.1
    • 4.0.0
    • Debugging
    • Hide

      In development environment, it should be possible to use `window.browser` to interact with development settings using an improved API. If dev tools are not activated, it's also possible to enable them setting the MoodleAppDevTools cookie or localStorage key.

      • For example, via the console you could execute: window.browser.setDevelopmentSetting("DBLoggingEnabled", true) to active DB logging

      Other values are: LoggingEnabled, DevTools and Config (with config overrides in json format)

      window.browser.clearDevelopmentSetting() could be used to disable the indicated setting

       

      Show
      In development environment, it should be possible to use `window.browser` to interact with development settings using an improved API. If dev tools are not activated, it's also possible to enable them setting the MoodleAppDevTools cookie or localStorage key. For example, via the console you could execute: window.browser.setDevelopmentSetting("DBLoggingEnabled", true) to active DB logging Other values are: LoggingEnabled, DevTools and Config (with config overrides in json format) window.browser.clearDevelopmentSetting() could be used to disable the indicated setting  
    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • Moodle App 4.0.1

      There is a couple of development features that can be activated using cookies, however it seems like cookies don't work properly in iOS. An alternative solution would be to support using localStorage as well.

            noeldemartin Noel De Martin
            noeldemartin Noel De Martin
            Dani Palou Dani Palou
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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