Skip to content
New issue

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

Added iOS Universal User Agent. #116

Merged
merged 8 commits into from
Apr 11, 2020
Merged

Conversation

samuli-hiltunen
Copy link
Contributor

I've added support for iOS Universal User Agent tag, so please review and let me know - or just add it, please. :)

samuli-hiltunen and others added 3 commits January 13, 2020 13:30
added support for ios universal user agent tag, which is used, for example, in inappbrowsers
Copy link

@Triple-Slash Triple-Slash left a comment

Choose a reason for hiding this comment

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

looks good to me.

Triple-Slash
Triple-Slash previously approved these changes Jan 13, 2020
Copy link

@Triple-Slash Triple-Slash left a comment

Choose a reason for hiding this comment

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

.

@samuli-hiltunen
Copy link
Contributor Author

What needs to be done with this one to move on, please?

"Merging can be performed automatically with 1 approving review."

Copy link
Contributor Author

@samuli-hiltunen samuli-hiltunen left a comment

Choose a reason for hiding this comment

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

bump :)

Comment on lines +84 to 87
universal: match(appleUniversal),
device:
(match(appleIphone) || match(appleIpod) || match(appleTablet)) &&
!match(windowsPhone),

Choose a reason for hiding this comment

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

apple.device should include universal

Copy link
Owner

Choose a reason for hiding this comment

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

+1, should be added to device

@@ -129,6 +132,7 @@ export default function isMobile(userAgent?: string): isMobileResult {
};

result.any =
result.apple.universal ||

Choose a reason for hiding this comment

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

not needed when apple.universal is included in apple.device

Copy link
Owner

Choose a reason for hiding this comment

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

+1

@kaimallea
Copy link
Owner

I'll merge and then apply @OlympicLarry 's suggestions that I agree with

@kaimallea
Copy link
Owner

🎉 This PR is included in version 1.0.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants