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

Android flag is true on a windowsphone #167

Closed
leolux opened this issue Oct 21, 2016 · 0 comments
Closed

Android flag is true on a windowsphone #167

leolux opened this issue Oct 21, 2016 · 0 comments

Comments

@leolux
Copy link

leolux commented Oct 21, 2016

window.navigator.userAgent of the browser is:
Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; Microsoft; Lumia 640 LTE) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537

I would expect the flags "mobile" and "windowsphone" to be true because it is a windowsphone (Lumia 640 LTE)

But detected flags are as follows:
mobile: true
windows: undefined
windowsphone: true
android: true
ios: undefined
blackberry: undefined
firefoxos: undefined
tizen: undefined

Why is bowser.android = true?

bdelaforest pushed a commit to bdelaforest/bowser that referenced this issue Oct 27, 2016
bdelaforest pushed a commit to bdelaforest/bowser that referenced this issue Oct 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant