atomantic / is-ua-webview

📱tiny/simple npm module for detecting webview status of a user-agent
ISC License
58 stars 7 forks source link

Doesn't work on the iPad #8

Open emrahyumuk opened 4 years ago

emrahyumuk commented 4 years ago

I tested it on the iPhone. there is no problem. but it is not working on the iPad.

atomantic commented 4 years ago

It's been about 3 years since I've looked at the latest user agent strings for ipad/ios. If you have the user agent strings, we can inspect why they are not detecting. Are these UIWebView or SFSafariViewController?

emrahyumuk commented 4 years ago

There is 'Macintosh' instead of 'iPad' in user agent on iPad pro. It is working properly now. I have sent pull request. https://github.com/atomantic/is-ua-webview/pull/9

manojdemel12d commented 3 years ago

This doesn't detect UIWebView on Latest iPhones and iPads.