Open dahleedam opened 3 years ago
Hello, Do you have any example User Agent for the ones that are not detected? On 8 Jan 2021, 01:00 +0000, dahleedam notifications@github.com, wrote:
Hi, Script is not detecting webview browsers. For example, Facebook uses WebView browser, SnapChat uses WebView many other applications using their WebView Browsers. Script is not able to check browser for these kind of browsers. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
@mariotsi I'm having the same issues. I have a few examples of user agent's that it's not seeing (at least for the browser object):
Mozilla/5.0 (iPhone; CPU iPhone OS 14_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
Mozilla/5.0 (Linux; Android 9; SM-G950F Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/88.0.4324.152 Mobile Safari/537.36
Mozilla/5.0 (Linux; Android 10; VOG-L29 Build/HUAWEIVOG-L29; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/88.0.4324.152 Mobile Safari/537.36
Mozilla/5.0 (Linux; Android 8.0.0; WAS-LX1 Build/HUAWEIWAS-LX1; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/88.0.4324.152 Mobile Safari/537.36
Mozilla/5.0 (Linux; Android 9; FIG-LX1 Build/HUAWEIFIG-L31; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/88.0.4324.152 Mobile Safari/537.36
Mozilla/5.0 (iPhone; CPU iPhone OS 12_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148
-
I've falled back to my own parsing that just detects chrome/webview usage based on the above.
Yes, this library is not detecting webview, will it be fixed?
you might try something like this
$result = new WhichBrowser\Parser(...)
$return['browser_version'] = $result->browser->getVersion() ?: $result->browser->using->getVersion();
$return['browser_name'] = $result->browser->getName() ?: $result->browser->using->getName();
Hi,
Script is not detecting webview browsers. For example, Facebook uses WebView browser, SnapChat uses WebView many other applications using their WebView Browsers. Script is not able to check browser for these kind of browsers.