Hello we have noticed that pyIsTablet when-rule doesn’t return true for iPad 9.
The User Agent String returned from the iPad is:
- pxRequestor.pyUserAgent=“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15 GoodAccess/3.17.0.1651”
And as it doesn’t contain anything related to these words, the when-rule returns false:
- iPad, Touch, Windows, Phone, Android, Mobile, Silk, Desktop
I noticed that this is not a new issue in this Stackoverflow post:
ios - How to detect iPad Pro as iPad using javascript? - Stack Overflow