In v6, the usage of an iphone in a browser application was not correctly detected when firefox was used because the user agent string doesn't match the expected one in get-devices
Actual UAs from firefox and two iPhone different devices

or

Because the regexp for iphone expects only a single whitespace between iPhone and OS.... .when it's changed like the iPod-Regexp it works...
const ipod = ua.match(/(iPod)(.*OS\s([\d_]+))?/); const iphone = !ipad && ua.match(/(iPhone\sOS|iOS)\s([\d_]+)/);
In v6, the usage of an iphone in a browser application was not correctly detected when firefox was used because the user agent string doesn't match the expected one in get-devices
Actual UAs from firefox and two iPhone different devices


or
Because the regexp for iphone expects only a single whitespace between iPhone and OS.... .when it's changed like the iPod-Regexp it works...
const ipod = ua.match(/(iPod)(.*OS\s([\d_]+))?/); const iphone = !ipad && ua.match(/(iPhone\sOS|iOS)\s([\d_]+)/);