We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
We went from "ua-parser/uap-php": "^3.8, < 3.9" to: "ua-parser/uap-php": "^3.9",
With version 3.8 i had this check in our code
$parser = Parser::create(); $result = $parser->parse($request->headers->get('User-Agent')); return 1 == $request->request->get('mobile-view') || 'Other' !== $result->device->family;
With this version i could check for 'Other' in order to check if the user is working on a desktop or mobile
When i update to 3.9 the $result->device->family returns 'MAC' instead of other (in my case i am working on a mac)
$result->device->family
That means that for every operating system it will return something else.
Is there something else i can check in order to check if the user is on mobile or on desktop?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
We went from "ua-parser/uap-php": "^3.8, < 3.9" to: "ua-parser/uap-php": "^3.9",
With version 3.8 i had this check in our code
With this version i could check for 'Other' in order to check if the user is working on a desktop or mobile
When i update to 3.9 the
$result->device->family
returns 'MAC' instead of other (in my case i am working on a mac)That means that for every operating system it will return something else.
Is there something else i can check in order to check if the user is on mobile or on desktop?
The text was updated successfully, but these errors were encountered: