I am using WebGL from WebView on Android. To determine support for WebGL or not, I use this function .
Android KitKat devices do not have WebGL support, as mentioned throughout. However, in my test device 4.4.2, the discovery function returns true, and when calling http://webglreport.com from WebView, it also says that WebGL1 is supported.
No wonder nothing happens. Therefore, I would like to avoid using the version of WebGL on the page if WebGL does not work.
Is there any way better to detect webGL? Or should I just say "if Android <5, don’t even try to check if WebGL is supported, as it may be."
javascript android android-webview android-4.4-kitkat webgl
Jose Gómez Dec 06 '16 at 23:08 2016-12-06 23:08
source share