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

    Visibility detection available on Android ?

    Help
    2
    4
    849
    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.
    • M
      Miaow last edited by

      Hi,

      I sadly have only one device to test my application and if it work perfectly on browser, the app-visibility feature dont seem to work on my phone (Samsung Galaxy S4), is this reliable to my device or is it the same for every type of smartphone ?

      Thank you in advance for your answers !
      Mi@ow

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

        Hi,

        Quasar makes use of the Web Page Visibility API, which is not reliable on older Android WebViews. If you like to make it work, use cordova-plugin-crosswalk-webview Cordova plugin. This plugin installs a newer WebView, but due to the fact that WebView is now automatically updated on Android 5+, this project has ended its life. But, for older devices, it works great.

        1 Reply Last reply Reply Quote 0
        • M
          Miaow last edited by

          Hi,

          Thank you for you message, I already use the cordova-plugin-crosswalk-webview plugin and my device (Samsung Galaxy S4) is already on Android 5.0.1…

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

            Like I said, Quasar relies on Web Page Visibility API. And it doesn’t works on every device. Quasar v0.15 has a way of telling if the device that you are running on has this capability or not. It’s something that browsers need to support and it’s out of Quasar’s reach to make it work.

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