current-device icon indicating copy to clipboard operation
current-device copied to clipboard

Windows phone (real device) has been pass as ios iphone mobile

Open paulobranco opened this issue 10 years ago • 2 comments

I have added the device.js It works fine, however I am encountering a problem with windows phone. Every time I test it on my test phone NOKIA Lumina 830 the device comes as: ios iphone mobile portrait

If I use chrome extension to change the user agent to Win phone, it is fine however seems to not working on the real device.

I get the browser as it should be: Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; NOKIA; Lumia 830) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537

Am I doing anything wrong?

Regards, Paulo Branco

paulobranco avatar Mar 23 '15 05:03 paulobranco

@paulobranco I think the "like iPhone" portion might be the issue.

matthewhudson avatar Mar 23 '15 14:03 matthewhudson

could be related to #93

@paulobranco can you test with the last version (0.2.6)?

JSteunou avatar Apr 19 '15 16:04 JSteunou