Checks if the app is likely running inside a WebView (in-app browser). This is a heuristic check and may not be 100% accurate.
True if likely inside a WebView, false otherwise
import { isLikelyInsideWebview } from '@consumidor-positivo/ts-utils';if (isLikelyInsideWebview()) { console.log('Running inside a WebView');} Copy
import { isLikelyInsideWebview } from '@consumidor-positivo/ts-utils';if (isLikelyInsideWebview()) { console.log('Running inside a WebView');}
Checks if the app is likely running inside a WebView (in-app browser). This is a heuristic check and may not be 100% accurate.