Closed jaro-io closed 4 years ago
Hi, the problem is that Safari has changed their behavior here and doesn't want us to distinguish iPad from macOS. Check out #329 as this one duplicates it.
Thank you so much for the quick reply. I was thinking something like that already.. So as far as I understand, you will not implement a touch check
? If not, I will just build that myself. ❤️
You're welcome ☺️ Yep, the point of this lib was to keep it as a UA-parser only. I'm already thinking about creating something around it 😄 but yeah, you'd better do it yourself for now.
Thanks. Yeah, let us know if you do! This library is awesome! 🦢
Hey @lancedikson!
This is what's being shown when using Safari's inspect on an iPad Air 4th Gen running iOS 14.
window.navigator.userAgent
of the browser is:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15
It should be
os.name: iOS
andplatform.type: tablet
.Thank you!