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.
expo-screen-capture
Advanced tools
Protects screens in your app from being captured or recorded, and notifies if a screenshot is taken.
expo-screen-capture
allows you to protect screens in your app from being captured or recorded, and notifies if a screenshot is taken while your app is foregrounded. The two most common reasons you may want to prevent screen capture are:
This is especially important on Android, since the android.media.projection
API allows third-party apps to perform screen capture or screen sharing (even if the app is backgrounded).
Currently, taking screenshots on iOS cannot be prevented. This is due to underlying OS limitations.
For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release.
For bare React Native projects, you must ensure that you have installed and configured the expo
package before continuing.
npx expo install expo-screen-capture
npx pod-install
No extra configuration necessary
Contributions are very welcome! Please refer to guidelines described in the contributing guide.
47.0.0 — 2022-10-28
For changelog entries prior to SDK 47, refer to: https://github.com/expo/expo/blob/ff35557463c0db1cf8683939d752c59baf127f21/CHANGELOG.md#L323
FAQs
Protects screens in your app from being captured or recorded, and notifies if a screenshot is taken.
The npm package expo-screen-capture receives a total of 15,125 weekly downloads. As such, expo-screen-capture popularity was classified as popular.
We found that expo-screen-capture demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
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.