Skip to content

Commit

Permalink
feat: update the meta webview detection logic to remove version info (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ravishekhar authored Aug 23, 2024
1 parent a59d39d commit 0817042
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 0817042

Please sign in to comment.