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

Windows Phone device detected as "Apple Iphone" #5598

nodeffect opened this issue Mar 20, 2017 · 2 comments


Copy link

commented Mar 20, 2017

Found a bug where it detects Windows phone as "iPhone". Details as below:

User agent:
Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; Microsoft; RM-1141) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537

Smartphone device detected as "Apple iPhone".

Please see this link below for more details:


This comment has been minimized.

Copy link

commented Mar 20, 2017

I'll add a detection for this specific device RM-1141 (Lumia 540). But that won't prevent any other incorrect detections for Windows phone devices. The useragents they use are completely non-sense. It includes fragments of three operating systems - Windows, Android and iOS.


This comment has been minimized.

Copy link

commented Mar 20, 2017

sorry, I dont know why it returns this weird user agent... my bad for not looking clearly. I guess something else went wrong.... please close this ticket...

@nodeffect nodeffect closed this Mar 20, 2017

sgiehl added a commit that referenced this issue Mar 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.