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

Migrate config.json to an AngularJS configuration file

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.7
    • 2.7
    • Others
      1. Run 'gulp' and check that a new constant called mmCoreConfigConstants is added to the build file.
      2. Run the app, go to 'App Settings' > 'About' and check that the app version name and code are shown.
    • MOODLE_27_STABLE
    • MOODLE_27_STABLE

      Using config.json has a problem: it's loaded asynchonously using $http. If we use AngularJS constants instead the data will be available right away.

      We could also mantain the config.json file and create a gulp task to migrate the data to an Angular constant.

            dpalou Dani Palou
            dpalou Dani Palou
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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