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

    Apollo query for root routes on the first load

    Help
    2
    6
    147
    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.
    • D
      DavidGo last edited by

      I would like to know the reason why apollo queries doesn’t work on Cordova builded app on the first route for routes with path:’/’ or path:’’. More info about my case is here

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        Looks like you found the resolution yourself.

        Scott

        1 Reply Last reply Reply Quote 0
        • D
          DavidGo last edited by

          Yes, but I don’t understand why it’s happening:)

          1 Reply Last reply Reply Quote 0
          • s.molinari
            s.molinari last edited by

            I’m not sure either. Where is the graphql code? In the layout or the index page component? Was the page working otherwise, i.e. was the index page showing?

            Scott

            1 Reply Last reply Reply Quote 0
            • D
              DavidGo last edited by

              I tested it with other queries, and it has the same result. Yes, page was working fine. And it works fine for web, but when you install it to device (I’ve tried Cordova and Capacitor) on the first launch app has this isuue. If you reopen it - everything is fine

              1 Reply Last reply Reply Quote 0
              • s.molinari
                s.molinari last edited by

                Strange. I have no experience with Cordova or Capacitor. But, it must be some sort of initialization going on, which is different than in other platforms.

                Scott

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