We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d9f1d8 commit f221595Copy full SHA for f221595
lib/Device.ts
@@ -12,6 +12,8 @@ function getOSAndName(): DeviceInfo {
12
const {browser, os} = parser.getResult();
13
14
let osVersion = os.version;
15
+ // Detection logic inspired by UAParser guide on iOS 26:
16
+ // https://docs.uaparser.dev/guides/how-to-detect-ios-26-using-javascript.html
17
if (browser.name === 'Mobile Safari' && browser.major === '26' && os.name === 'iOS' && os.version === '18.6') {
18
osVersion = '26';
19
}
0 commit comments