You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example of failing Windows Phone UA: "Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; Microsoft; Virtual) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537". As you see, it contains Android 4.0.
The fix is to add additional check for Windows Phone like I do here:
Windows Phone 8.1 supports History API, but Modernizr gives a false negative.
The check in question returns
false
for Android 4.0 (presumably because it reports as supporting API but in fact doesn't?). However, Microsoft recently started including Android in WP user agent, leading Modernizr to believe it's an Android when in fact it's not.Example of failing Windows Phone UA:
"Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; Microsoft; Virtual) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537"
. As you see, it containsAndroid 4.0
.The fix is to add additional check for Windows Phone like I do here:
The text was updated successfully, but these errors were encountered: