Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
react-native-hotspot
Advanced tools
A React Native component that displays hotspots over desired components to help lead your users through an onboarding flow or direct them towards new UI elements
A React Native component that displays hotspots over desired components to help lead your users through an onboarding flow or direct them towards new UI elements
npm install react-native-hotspot
import { RNHotspot, RNHotspotHelper } from "react-native-hotspot";
// in your screen's constructor, use the helper with an array of onPress actions you want your hotspots to trigger
this.componentRefs = RNHotspotHelper([
() => {
Alert.alert(null, "This button does this thing.");
},
() => {
Alert.alert(null, "This button does other thing.");
}
]);
// drop the component below the outer wrapping parent of your screen
<RNHotspot componentRefs={this.componentRefs} />
// expose the refs in the same order as the array defined above
<Button
title="Button #1"
onPress={() => {}}
ref={this.componentRefs[0].ref}
/>
<Button
title="Button #2"
onPress={() => {}}
ref={this.componentRefs[1].ref}
/>
This component has been tested on React Native v0.57
react-native-hotspot is MIT licensed and built with :heart: in Austin, TX by the team at LawnStarter
FAQs
A React Native component that displays hotspots over desired components to help lead your users through an onboarding flow or direct them towards new UI elements
We found that react-native-hotspot demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.