()
| 124 | const metaInAppBrowserMatch = /FBAN|FBAV|FB_IAB|Instagram/i; |
| 125 | |
| 126 | export const isAndroidMetaInAppBrowser = (): boolean => { |
| 127 | const userAgent = globalThis?.navigator?.userAgent ?? ''; |
| 128 | return /Android/i.test(userAgent) && metaInAppBrowserMatch.test(userAgent); |
| 129 | }; |
| 130 | |
| 131 | export const getChromeIntentUrl = (url: string): string => { |
| 132 | const { host, pathname, search } = new URL(url); |
no outgoing calls
no test coverage detected