add-to-homescreen-react
add-to-homescreen-react copied to clipboard
iPad Pro is not detected
The iPad Pro has the ability to add to home screen, but the user agent does not have "ipad" in it. It looks something more like this:
navigator.platform = 'MacIntel';
navigator.userAgent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0 Safari/605.1.15)';
This StackOverflow has some promising indicators...
Same issue...