Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
@bufgix/react-native-secure-window
Advanced tools
Hide/Prevent react native views with an overlay when capturing screen
Hide react native views with an overlay when capturing screen
iOS | Android |
---|---|
For managed Expo projects, please follow the installation instructions in the API documentation for the latest stable release. If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release.
For bare React Native projects, you must ensure that you have installed and configured the expo
package before continuing.
## You must install expo-screen-capture first
yarn add expo-screen-capture
yarn add @bufgix/react-native-secure-window
Run npx pod-install
after installing the npm package.
No additional set up necessary.
import { Text, View } from "react-native";
import { SecureWindow } from "react-native-secure-window";
export default function App() {
return (
<View style={styles.container}>
<SecureWindow>
<Text>This text is protected by the SecureWindow</Text>
</SecureWindow>
<Text>This text is not protected by the SecureWindow</Text>
</View>
);
}
for Android, <SecureWindow />
component prevent whole screen from capturing due to Android limitation.
Contributions are very welcome! Please refer to guidelines described in the contributing guide.
FAQs
Hide/Prevent react native views with an overlay when capturing screen
We found that @bufgix/react-native-secure-window 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.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.