Skip to content

v1.0.0

Choose a tag to compare

@gbumps gbumps released this 04 May 09:04
· 128 commits to master since this release

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: Improve ScreenGuardColorActivity.java and registration of WindowManager.FLAG_SECURE twice on some functions.

𝌡 Change

  • Move and refactor all JS code to src folder.

  • Merged stable and beta version into one for resolving frequent code mismatch and build failed #32 #57.

  • registerWithoutScreenguard: this has been deprecated and removed.

  • registerWithImage: Added support position top, left, bottom, right for image position customization. (iOS only)

  • register: changed input to ScreenGuardColorData object instead of only backgroundColor.

  • registerScreenshotEventListener: Added screenshot image info at callback, after a screenshot is triggered successfully (Republished due to build failed on some version 0.3.8, 0.3.9, 0.4.0).