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

Use ionic-cli as a project dependency

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8.2
    • Fix Version/s: 3.9.0
    • Component/s: Others
    • Labels:
    • Testing Instructions:
      Hide

      This issue should be tested in a development environment of each platform (iOS, Android & Web). The development environment should not have the ionic-cli installed globally (check that running ionic tells you that the program isn't installed).

      For the web platform:

      1. run npm start and make sure that the application is launched successfully and it reloads after changing the source.
      2. run npm run dev, it should do the same.

      For the android platform:

      1. run npm run dev:android and make sure that the application is launched successfully and it reloads after changing the source.
      2. run npm run prod:android and make sure that the application is launched successfully with aot compilation. It should not react to changes in the source.

      For the ios platform:

      1. run npm run dev:ios and make sure that the application is launched successfully and it reloads after changing the source.
      2. run npm run prod:ios and make sure that the application is launched successfully with aot compilation. It should not react to changes in the source.
      Show
      This issue should be tested in a development environment of each platform (iOS, Android & Web). The development environment should not have the ionic-cli installed globally (check that running ionic tells you that the program isn't installed). For the web platform: run npm start and make sure that the application is launched successfully and it reloads after changing the source. run npm run dev , it should do the same. For the android platform: run npm run dev:android and make sure that the application is launched successfully and it reloads after changing the source. run npm run prod:android and make sure that the application is launched successfully with aot compilation. It should not react to changes in the source. For the ios platform: run npm run dev:ios and make sure that the application is launched successfully and it reloads after changing the source. run npm run prod:ios and make sure that the application is launched successfully with aot compilation. It should not react to changes in the source.
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle App 3.9.0

      Description

      The current expected approach for developers is to run commands such as ionic serve to run the application locally. This can lead to some issues if the proper ionic version is not installed locally.

      A better approach would be to add the ionic-cli as a devDependency and configure npm's start command.

        Attachments

          Activity

            People

            Assignee:
            noeldemartin Noel De Martin
            Reporter:
            noeldemartin Noel De Martin
            Peer reviewer:
            Dani Palou Dani Palou
            Integrator:
            Juan Leyva Juan Leyva
            Tester:
            Dani Palou Dani Palou
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              26/Jun/20