🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@heap/heap-webview-bridge

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heap/heap-webview-bridge

Heap manual track bridge for JavaScript on native platforms.

0.6.0
latest
Source
npm
Version published
Maintainers
0
Created
Source

@heap/heap-webview-bridge

@heap/heap-webview-bridge is an implementation of the Heap manual track SDK for use in webviews. This package can be used two ways:

  • It can be imported into a project using heap-swift-core and WKWebView to expose JavaScript. Using Heap.attachWebView from Swift will establish a JavaScript bridge which this package can use directly.
  • It is used for generating a webpack bundle that is embedded in heap-swift-core. Using Heap.attachWebView(..., injectHeapJavaScript: true) will inject a Heap object into you pages, allowing you to call Heap.track directly from HTML without using JavaScript files.

FAQs

Package last updated on 01 Jul 2024

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