Visibility detection available on Android ?
-
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 -
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.
-
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…
-
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.