
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@embrace-io/webview-tracker
Advanced tools
Core Module Required
This module requires React Native Embrace SDK.
Embrace can collect basic session data and crashes as you've already seen in the Crash Reporting and Session Reporting sections. Embrace can also collect the data from your web page inside a Webview component Here's how you add the WebView tracker to the session.
Embrace has a separate module for tracking WebView, to use it you will need to add the WebView Tracker
yarn add @embrace-io/webview-tracker
npm install @embrace-io/webview-tracker
Add the logEmbraceWebView to your WebView component
// Import the Embrace log method
import { logEmbraceWebView } from "@embrace-io/webview-tracker";
import { WebView } from "react-native-webview";
const App = () => {
const handleOnMessage = (message) => {
logEmbraceWebView("MyCheckout", message);
};
return (
<WebView
useWebKit
onMessage={handleOnMessage}
source={{ uri: "URL TO TRACK" }}
/>
);
};
FAQs
Allows to track events on WebViews components
The npm package @embrace-io/webview-tracker receives a total of 0 weekly downloads. As such, @embrace-io/webview-tracker popularity was classified as not popular.
We found that @embrace-io/webview-tracker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.