0

Is there any way to detect using Javascript only if I'm dealing with a user that came from ios/android and using our app (Webview)?

From what I collected so far, You can do it with PHP reading headers, or somewhat with detecting user-agents with Javascript, but I can't seem to get it all to work.

I need both android and iOS webviews detected. Any ideas guys?

Thanks!

1 Answers1

0

You can send custom HTTP headers to WebView using iOS and Android App. In your Website, you get this header in order to distinguish which is Android or iOS.

This is how you can send headers to WebView using Android, iOS and even how you can get this using PHP.

Uilque Messias
  • 281
  • 2
  • 17