lib/browser_sniffer/patterns.rb in browser_sniffer-1.3.0 vs lib/browser_sniffer/patterns.rb in browser_sniffer-1.4.0

- old
+ new

@@ -58,9 +58,12 @@ %r{^Dalvik/[a-z0-9\.]+.*(Shopify\sPOS)\s(\d(?:\.\d+)*)(\/\d*)*}i, ], [:name, :version], [ # Shopify POS for Android (Native App) %r{.*(\sPOS\s-).*\s([\d+\.]+)(\/\d*)*\s}i, ], [[:name, 'Shopify POS'], :version], [ + # Shopify POS for Android (Native App) New Format + %r{(Shopify POS)\/([\d\.]+)[^\/]*\/(Android)\/(\d+)}i, + ], [[:name, 'Shopify POS'], :version], [ # Shopify POS for Android (SmartWebView) %r{.*(Shopify\sPOS)\s.*Android.*\s([\d+\.]+)(\/\d*)*\s}i, ], [:name, :version], [ # Shopify POS uses this user agent %r{^(okhttp)\/([\d\.]+)}i