boletia-react-native-prevent-screenshot
v0.2.4
Published
.
Downloads
19
Readme
react-native-prevent-screenshot
.
Installation
npm install boletia-react-native-prevent-screenshot
Usage
import { PreventScreenshotView } from "react-native-prevent-screenshot";
// ...
<View style={styles.container}>
<View style={styles.noProtected}>
<Text>no protec</Text>
</View>
<PreventScreenshotView
style={styles.box}
image={
'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxIHEhAQBxASExAXGA8SFhAVFhAXEBUSFxgXFhkRFRUkHiggGBonJxUWITEtJTUrLi4uFx8zRDMsNyktLisBCgoKDg0OGhAQGi0mICUtLTUtLzUtLS0tLS0tLy0tLS0tLS0wLS0tLS0rNS0tLS0tLS0tLS0tLS0tLS0tLS0tLf/AABEIAMIBAwMBEQACEQEDEQH/xAAbAAEAAgMBAQAAAAAAAAAAAAAAAwQBAgUGB//EADgQAAIBAgQEAwYEBAcAAAAAAAABAgMRBAUSIRMxQVEGUpEUYXGBodEiMrHBFSOCshYkJTM0QkP/xAAaAQEAAwEBAQAAAAAAAAAAAAAAAQIEAwUG/8QALBEBAAIBAwMDAwMFAQAAAAAAAAECAwQREiExUQUTUhQVQSMysSJxcqHBM//aAAwDAQACEQMRAD8A+iAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAK1XHUqL01qtOL7OcU/S50jDknrFZUnJWO8p4TU0nBpp8mmmn8ylomvdaJiezYhIAAAAAGAb7AGQAAAAAAAAAAAAAAAAAAAAAAAAB5jP8AH1cXWjgssemT/PNOzW17X6JLd99l8fS02KlMfv5evhkzXta3t0TYfwhh4K1fXOXWWpx39yX73KW9Qy7/ANO0QtXSU/PVPl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AAAAAAAAAAAAAAAAAAAAAAAAAAAAANZzVNXlyItO3cmdkXtcO79Gc/dqryg9rh3fox7tTlB7XDu/Rj3qnKD2uHd+jJ92pyg9rh3foyPeqcoPa4d36Me7U5wnOqwAAAAAAAAAAAAAAAAAAAAAAAAAAADDduY326jm4mtxXty6fcx5L8pcbS5WJq1oT00VeLtZ6dlfbd36Pn7hEV2OiCtOpB3pKbkp1ek9LjZWduXw/YmOOyXWyKeqtL2i2i0d5xtF/hfSWyd7ciY4xsQ6sqdKqoX07RW2qnFt6t9Ul1S3ExXaCdpawo4dpty5OXXeST6K3VfUjjU2hzTl0Vdg9B3AAAAAAAAAAAAAAAAAAAAAAAAAAAAV8b+X5o5ZeytnPMkOQRPdASBAEggMBL/2Q=='
}
>
<View style={styles.content}>
<View style={styles.protected}>
<Text>with protected</Text>
</View>
</View>
</PreventScreenshotView>
</View>
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT
Made with create-react-native-library