Skip to content

Releases: gbumps/react-native-screenguard

v1.0.0

04 May 09:04
Compare
Choose a tag to compare

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).

v0.4.0 - deprecated

13 Apr 05:09
Compare
Choose a tag to compare

✨ Change

  • registerScreenshotEventListener: Added screenshot image info at callback, after a screenshot is triggered successfully.

thanks @krmao for suggestion!

Note: as versions 0.3.8 and 0.3.9 has been deprecated due to Android build failed. Please update to this latest version.
Note: this version has been deprecated due to iOS build failed. Please get back to version 0.3.6 for stability 1st.

v1.0.8-beta - deprecated

14 Feb 17:43
Compare
Choose a tag to compare

This beta version is merged with some releases in v0.3.6, new features and changes:

✨ Feature

  • Added local image source required for registerWithImage.

𝌡 Change

  • Remove callback on both registerWithBlurView and registerWithImage.

  • Modify source on params for registerWithImage.

Updated May 10th, 2024: This beta version has been merged with stable version at release 1.0.0, please update to the latest version by yarn add react-native-screenguard@latest or npm i react-native-screenguard@latest

v0.3.6 -stable

28 Jan 15:50
Compare
Choose a tag to compare

✨ Feature

  • Added registerScreenshotEventListener: screenshot event listener for iOS + Android.

  • Added registerScreenRecordingEventListener: screen recording event listener (iOS only).

𝌡 Change

Due to new feature release, here are some changes as following:

  • registerWithoutScreenguard: This function is now deprecated and will be removed from v0.4.0+ Consider using registerScreenshotEventListener and registerScreenRecordingEventListener instead.

  • Callback: As I mentioned at previous version, callback after a screenshot or screen recording are registered when calling any function, but now you have to call and register it manually based on the new feature above.

v0.3.5

10 Jan 17:15
Compare
Choose a tag to compare

🌈 Improvement

  • Android: Improve frequent crash when app in background on Android due to #29.

🐛 Bugfix

  • fix warning NativeEventEmitter appeared several times on Android at issue #36 thanks to @alexbennycodes.

0.3.2-stable

24 Oct 16:43
36d8ef1
Compare
Choose a tag to compare

🐛 Bugfix

0.2.8

29 Sep 09:49
Compare
Choose a tag to compare

🐛 Bugfix

  • Resolve issue #23: Fix missing imageView on iOS due to mismatch between stable version and beta version.

0.2.6

23 Sep 08:29
e3a2afe
Compare
Choose a tag to compare

🌈 Improvement

  • iOS: Improve deactivate function on iOS. At some previous versions, when unregister is called, the protection filter has been deactivated but not completely removed out of the main controller view, leaving it unused and not necessary.

0.2.4

12 Sep 17:38
Compare
Choose a tag to compare

Temporary disabled the protection filter effect ScreenGuardColorActivity on Android as it could affected input and other gesture due to this issue #20 while I'm working on another way to show this filter but still follows Google's policy behavior.

Now, when calling any register methods, this still protects your app from being screen captured and record on Android, skipping all of preview effect like color, blur and image.

1.0.4-beta

04 Sep 09:14
4d886be
Compare
Choose a tag to compare

Same with release v0.2.2, with some changes:

𝌡 Change

  • Android: Move ScreenGuardActionEnum and ScreenGuardImagePositionEnum to package enums and change some imports based on those enums.