Skip to content

Commit 0817042

Browse files
authored
feat: update the meta webview detection logic to remove version info (#119)
1 parent a59d39d commit 0817042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/device.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export function isMetaWebView(ua?: string = getUserAgent()): boolean {
5454
}
5555

5656
export function isMetaInAppBrowser(ua?: string = getUserAgent()): boolean {
57-
return /IABMV\/1/.test(ua);
57+
return /IABMV/.test(ua);
5858
}
5959

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

0 commit comments

Comments
 (0)