v1.0.0
Thanks for using react-native-screenguard. Today I announce big update for this library.
✨ Feature
- Added
registerWithoutEffect: screenshot and screen recording prevention for Android without effect (blur, image, color). (Android only).
🌈 Improvement
Android: ImproveScreenGuardColorActivity.javaand registration ofWindowManager.FLAG_SECUREtwice on some functions.
𝌡 Change
-
Move and refactor all JS code to
srcfolder. -
Merged
stableandbetaversion into one for resolving frequent code mismatch and build failed #32 #57. -
registerWithoutScreenguard: this has been deprecated and removed. -
registerWithImage: Added support positiontop,left,bottom,rightfor image position customization. (iOS only) -
register: changed input toScreenGuardColorDataobject instead of onlybackgroundColor. -
registerScreenshotEventListener: Added screenshot image info at callback, after a screenshot is triggered successfully (Republished due to build failed on some version0.3.8,0.3.9,0.4.0).