Skip to content

Commit

Permalink
Update the meta webview detection logic - remove version info
Browse files Browse the repository at this point in the history
  • Loading branch information
ravishekhar committed Aug 21, 2024
1 parent a59d39d commit d9d66b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function isMetaWebView(ua?: string = getUserAgent()): boolean {
}

export function isMetaInAppBrowser(ua?: string = getUserAgent()): boolean {
return /IABMV\/1/.test(ua);
return /IABMV/.test(ua);
}

export function isFirefox(ua?: string = getUserAgent()): boolean {
Expand Down

0 comments on commit d9d66b4

Please sign in to comment.