Computer Science, asked by someo6853, 1 year ago

How to identify if the page has open in webview or in browser php?

Answers

Answered by clue
0

You can then use PHP to check if your in-app webview is being used or not:

if (strpos($_SERVER['HTTP_USER_AGENT'], 'YourApp/') !== false)

I think Android does something similar as well.

Similar questions