lib/browser_sniffer/patterns.rb in browser_sniffer-1.2.0 vs lib/browser_sniffer/patterns.rb in browser_sniffer-1.2.1
- old
+ new
@@ -71,11 +71,11 @@
], [[:name, 'Shopify Mobile'], :version], [
# Shopify POS Next for iPhone or iPad
%r{.*(Shopify POS Next|Shopify POS)\/(?:iOS)\/([\d\.]+) \((iPhone|iPad|iPod)}i
], [[:name, 'Shopify POS'], :version], [
# Shopify Mobile for Android
- %r{.*(Shopify Mobile)\/Android\/([\d\.]+(?: \(debug(?:|-push)\))?) \(Build (\d+) with API (\d+)}i
- ], [[:name, 'Shopify Mobile'], :version, :build, :sdk_version], [
+ %r{.*(Shopify Mobile)\/Android\/([\d\.]+)(?: \((debug(?:|-push))\))? \(Build (\d+) with API (\d+)}i
+ ], [[:name, 'Shopify Mobile'], :version, :debug_mode, :build, :sdk_version], [
# ShopifyFoundation shared library
/^(ShopifyFoundation)/i,
], [:name], [
# Shopify Ping iOS
%r{.*(Shopify Ping)\/(?:iPhone\sOS|iOS)\/([\d\.]+) \((iPhone|iPad|iPod)}i