I am creating a webapp and the user could only have acces with the android webview? Can i detect android webview with javascript?
From http://developer.android.com/guide/webapps/webview.html#EnablingJavaScript
For example, if you're developing a web application that's designed specifically for the WebView in your Android application, then you can define a custom user agent string with setUserAgentString(), then query the custom user agent in your web page to verify that the client requesting your web page is actually your Android application.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With