@consumidor-positivo/ts-utils - v1.16.0
    Preparing search index...

    Function isLikelyInsideWebview

    • Checks if the app is likely running inside a WebView (in-app browser). This is a heuristic check and may not be 100% accurate.

      Returns boolean

      True if likely inside a WebView, false otherwise

      import { isLikelyInsideWebview } from '@consumidor-positivo/ts-utils';

      if (isLikelyInsideWebview()) {
      console.log('Running inside a WebView');
      }