Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Detect Chrome for iOS correctly #50

Merged
merged 1 commit into from
Jan 15, 2019
Merged

Detect Chrome for iOS correctly #50

merged 1 commit into from
Jan 15, 2019

Conversation

cskr
Copy link
Contributor

@cskr cskr commented Jan 15, 2019

Chrome for iOS sends the User-Agent as described here. This change
fixes the detection of Chrome for iOS by handling it as a special case
under AppleWebKit engine.

This fixes #49.

Chrome for iOS sends the User-Agent as [described here][1]. This change
fixes the detection of Chrome for iOS by handling it as a special case
under AppleWebKit engine.

This fixes #49.

[1]: https://developer.chrome.com/multidevice/user-agent#chrome_for_ios_user_agent.
Copy link
Owner

@mssola mssola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👏

@mssola mssola merged commit 7244ab0 into mssola:master Jan 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CriOS is detected as Safari, but with Chrome's version
2 participants