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

    Trying to use codova wraper

    Help
    5
    12
    3350
    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.
    • rstoenescu
      rstoenescu Admin last edited by

      Hi,

      Thanks for the appreciations!

      Are you sure you are using the default starter kit? It should take care of everything for you.

      Cheers.

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

        I have the same problem, using the default starter kit but can’t access cordova (or cordova plugins). I’m using the browser to develop

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

          Hi. Can’t use cordova or cordova plugins in browsers. They only work on a mobile phone.

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

            Hi, that’s not entirely true, there are Cordova functions and plugins that support browsers. It can be added as a platform (https://www.raymondcamden.com/2014/09/24/browser-as-a-platform-for-your-phonegapcordova-apps/)

            That being said, how do I develop a hybrid app using Quasar and utilizing the cordova functions without having to build the project (quasar build) and then run the cordova project (cordova run) again everytime I make a change?

            1 Reply Last reply Reply Quote 0
            • P
              PavelPolyakov last edited by

              I’m also very interested in the @ramonmostert question.
              It’s very useful to develop using quasar dev ios and alike, however it’s not clear how to develop if you are planning to use cordova in your app.

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

                @ramonmostert @PavelPolyakov Hmm, using that method requires some small changes on Quasar detection code for Cordova platform. Will investigate. Can you open up a request on Github pls? Thanks!

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

                  Also, if you want to test your Cordova plugins with hot module reload then temporarily change <content src="index.html" /> to <content src="URL_TO_YOUR_MACHINE:PORT" /> in /cordova/config.xml. Close app, run quasar dev then open your app. You’ll get hot module reload on dev code 😉

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

                    @PavelPolyakov dit it right away https://github.com/quasarframework/quasar/issues/381

                    Thanks in advance and keep up the good work!

                    1 Reply Last reply Reply Quote 0
                    • G
                      Greg last edited by

                      It would be really great if you could just develop in cordova browser mode.
                      For the moment, the only solution I found is to manually add the tag <script type=“text/javascript” src=“cordova.js”></script> to use this mode.

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

                        Will work on this. Stay tuned.

                        1 Reply Last reply Reply Quote 2
                        • R
                          ramonmostert last edited by

                          Hi @rstoenescu , any news on this?

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