User Agent string wrong on iPad Pro Cordova web view

In testing with the iPad Pro, the User Agent string is being reported as:

Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko)

Mobile/13B143 (5844012048)


If I use Safari instead, then I get:

Mozilla/5.0 (iPad; CPU OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B14 3 Safari/601.1



All other iPads behave properly and report iPad in both places.

Replies

This seems to be fixed with iOS 9.2 beta 4 on iPad Pro device.

And when I run an app that is using UIWebView in Xcode 9.2 beta 4 Simulator the UserAgent string is:

mozilla/5.0 (ipad; cpu os 9_2 like mac os x) applewebkit/601.1.46 (khtml, like gecko) mobile/13c75 (5316573184)

The userAgent was fixed with the 9.2 release, but sadly the bug with the wrong userAgent reappears with 9.2.1 beta 1.

That has the wrong userAgent again.


Mozilla/5.0 (iPhone; CPU iPhone OS 9_2_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13D11

This happens only if you not use an Launch Screen File (StoryBoard)

If you use an Launch Screen File the userAgent will be correctly reported with iPad


Mozilla/5.0 (iPad; CPU OS 9_2_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13D11

I am seeing this still on iOS 9.2 iPad Pro simulator, is it really fixed from apple or we need to fix (i know what to do).