Detect webview in Android with Javascript -


there app on google play embedding website in webview. app nothing else, , includes 3rd party monetization feature.

i want detect when users accessing site via app, can show message.

i haven't been able find way distinguish between android mobile browser , app, user agents same.

is there known method detect webview?

thanks.

unfortunately, answer no, there isn't way distinguish between android mobile browser , webview-based app.

unless app developer elects modify user agent, of course.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -