Closed heymartinadams closed 11 months ago
Perhaps test it via this method instead (source: https://stackoverflow.com/a/9851769/3962062):
var isSafari = /constructor/i.test(window.HTMLElement) || (function (p) { return p.toString() === "[object SafariRemoteNotification]"; })(!window['safari'] || (typeof safari !== 'undefined' && safari.pushNotification))
However, this doesn’t appear to be recognizing Safari mobile.
Probably because it’s using Safari’s rendering engine. Tested via https://www.browserstack.com/