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

    v1 tips for changing iphone statusbar color?

    Framework
    3
    9
    743
    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.
    • ssuess
      ssuess last edited by

      I could swear that in previous versions of Quasar, I was able to add this tag to the index.template.html file:

      <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">

      and my PWA would have the statusbar color correctly displayed, but it does not seem to work in v1…is there something else I need to do?

      1 Reply Last reply Reply Quote 0
      • ssuess
        ssuess last edited by

        Has no one ever needed to do this in a PWA with quasar v1?

        1 Reply Last reply Reply Quote 0
        • danielcommesse
          danielcommesse last edited by

          I am also having this trouble, I think is Quasar related because, I have done other projects with vue-cli and the above does work. But strangely in Quasar it doesn’t, maybe someone can help.

          1 Reply Last reply Reply Quote 1
          • ssuess
            ssuess last edited by

            Whether I add these two lines to the index.template.html file or not makes ZERO difference:

            <meta name="apple-mobile-web-app-capable" content="yes">
            <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
            

            Something is broken here. Should I report this as a bug in github, or can someone tell me what I am doing wrong?

            1 Reply Last reply Reply Quote 0
            • ssuess
              ssuess last edited by ssuess

              I think I just found where the bug is. In the manifest section of the pwa in the quasar.conf.js file, the item background_color: is being used to populate content of meta tag apple-mobile-web-app-status-bar-style which it should NOT. We need to both be able to specify a background color AND be able to specify status bar style and they are NOT the same thing.

              1 Reply Last reply Reply Quote 0
              • ssuess
                ssuess last edited by

                I have a cheap and dirty, non spec compliant workaround for this for now: just place your meta tag directly AFTER the closing </head> tag in the index.template.html file, it will supercede the previous one erroneously created by quasar. I will report this in github.

                1 Reply Last reply Reply Quote 0
                • ssuess
                  ssuess last edited by

                  reported here: https://github.com/quasarframework/quasar/issues/3828

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

                    Thanks for reporting. Will take care of it @ssuess

                    1 Reply Last reply Reply Quote 2
                    • ssuess
                      ssuess last edited by

                      Thanks @rstoenescu

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