No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Cordova using old builds?

    Help
    2
    10
    2936
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      robmpreston last edited by

      scratching my head over here. tried quasar clean, cleaning cordova project etc, every time iOS app launches its an old version with pieces of code that dont exist anymore. any ideas?

      1 Reply Last reply Reply Quote 0
      • R
        robmpreston last edited by

        quasar clean seemed to work, but im confused why that was needed. When i rebuilt cordova wasn’t pulling the new build from dist

        1 Reply Last reply Reply Quote 0
        • rstoenescu
          rstoenescu Admin last edited by

          Cordova will bundle the contents of dist folder. The cordova/www folder is actually a symbolic link pointing to /dist. That’s why you have to make sure you build your app (with the theme of your desire) before using Cordova (each time you make a change to your source code).
          Please note that there is a difference between building an app (which also cleans previous builds) and running the dev server. Running dev server does not touches the dist folder. Did I understand correctly your problem?

          1 Reply Last reply Reply Quote 0
          • R
            robmpreston last edited by

            Yeah, but that’s not the issue.

            I’m actually having it again.

            I go into XCode and clean the project

            I type quasar clean

            I type quasar build

            then I go into XCode and rebuild the project and run it on the emulator

            What runs isn’t right / up to date

            I’ve even manually deleted the dist folder and rebuilt.

            Is something being retained somewhere?

            1 Reply Last reply Reply Quote 0
            • rstoenescu
              rstoenescu Admin last edited by

              Nope. Nothing retained. What OS are you on?

              1 Reply Last reply Reply Quote 0
              • R
                robmpreston last edited by

                Mac OS X

                If I quasar dev its most definitely the right build

                If I build with Cordova its not

                I’ll do some more tests today

                1 Reply Last reply Reply Quote 0
                • R
                  robmpreston last edited by

                  cordova prepare is what i was missing

                  1 Reply Last reply Reply Quote 0
                  • rstoenescu
                    rstoenescu Admin last edited by

                    I usually issue “cordova run” which also installs it on the phone/tablet.

                    1 Reply Last reply Reply Quote 0
                    • R
                      robmpreston last edited by

                      That didnt seem to be working, im just running cordova prepare for now before i run.

                      1 Reply Last reply Reply Quote 0
                      • rstoenescu
                        rstoenescu Admin last edited by

                        Hmm, maybe they changed Cordova’s behavior in later releases. Which version are you using?

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post