Socket
Book a DemoInstallSign in
Socket

@hackler/react-native-webview-plugin

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hackler/react-native-webview-plugin

Hackle WebView bridge for React Native

latest
npmnpm
Version
1.0.2
Version published
Maintainers
2
Created
Source

@hackler/react-native-webview-plugin

Hackle WebView bridge plugin for React Native.

Features

  • Seamless integration with react-native-webview
  • Automatic Hackle bridge injection into WebView instances

Requirements

  • react-native-webview >= 11.0.0
  • @hackler/react-native-sdk >= 3.28.0

Installation

npm install @hackler/react-native-webview-plugin
# or, using yarn:
# yarn add @hackler/react-native-webview-plugin

Quick Start

Basic Usage

import { WebView } from 'react-native-webview';
import { createHackleWebViewConfig } from '@hackler/react-native-webview-plugin';

function MyWebView() {
  const config = createHackleWebViewConfig();

  return (
    <WebView
      source={{ uri: 'https://your-website.com' }}
      nativeConfig={config}
    />
  );
}

With Configuration Options

import { WebView } from 'react-native-webview';
import { createHackleWebViewConfig } from '@hackler/react-native-webview-plugin';

function MyWebView() {
  const config = createHackleWebViewConfig({
    automaticScreenTracking: true,
    automaticEngagementTracking: true,
  });

  return (
    <WebView
      source={{ uri: 'https://your-website.com' }}
      nativeConfig={config}
    />
  );
}

Keywords

react-native

FAQs

Package last updated on 09 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts