Skip to content

Releases: gbumps/react-native-screenguard

v2.0.0-beta5

29 Mar 10:31
f98d534

Choose a tag to compare

v2.0.0-beta5 Pre-release
Pre-release

Support and rearrange RN version to 0.59 and above.

v2.0.1 - stable

09 Mar 17:04
79be372

Choose a tag to compare

This release continue to support v2.0.0 alongside with some improvements.

🐛 Bugfix

  • Fixed limitCaptureEvtCount on Android not firing event correctly.
  • Remove unused code Android.
  • Fixed React-native 0.82+ ClassCassException on Android #125.

v2.0.0

17 Jan 19:44
3255800

Choose a tag to compare

Thanks for using React native screenguard, here are some new changes and features:

✨ Feature

🌈 Improvement

  • Android: New ScreenGuardOverlay class in replaced of ScreenGuardColorActivity
  • iOS: Improved event emitter with proper listener methods
  • Added comprehensive Jest test suite
  • Added listener when RN bundle reload.
  • Added listener orientation changed.
  • Added listener screen recording on Android 15+
  • Added Expo support.

𝌡 Change

  • BREAKING: Must call initSettings() before any register functions
  • BREAKING: Removed registerScreenshotEventListener & registerScreenRecordingEventListener
  • BREAKING: timeAfterResume moved from register functions to initSettings()

🐛 Bugfix

  • Fixed keyboard not opening after activation (Android) #62
  • Fixed NativeEventEmitter warnings
  • Fixed device orientation handling (iOS) #118
  • Fixed React-native 0.83 Android #125 v2.0.0-beta4

v1.1.1

20 Dec 16:40

Choose a tag to compare

What's Changed

  • helper.js: fix ScreenGuardConstants import by @irbisdev in #119

New Contributors

v1.1.0

09 Jul 16:45
9fc7dcc

Choose a tag to compare

🐛 Bugfix

  • fix #101 #100 due to color parsing failed + enhance reading hex string with 3 characters (for example #fff)
  • fix #102 due to possibly webp not supported.
  • fix #103 due to BasedReactPackage not yet implemented on RN 0.73.

v1.0.9

22 May 18:06
38238ff

Choose a tag to compare

Thanks for using react-native-screenguard. Here are new changes and improvement

✨ Feature

  • New Architecture supported.

🌈 Improvement

  • Android: declaration of com.screenguard.ScreenGuardColorActivity is no longer required as this activity has been already declared inside Manifest of the library.

  • registerScreenRecordEventListener: Added recordingStatus for checking if user is performing a screen recording or not.

𝌡 Change

  • Refactor all functions to Promise except registerScreenshotEventListener and registerScreenRecordEventListener.

  • unregister : From now on, unregister will not remove screenshot EventListener and screenRecord EventListener. You must do it by using removeScreenshotEventListener and removeRecordingEventListener.

🐛 Bugfix

v1.0.6 - stable

27 Feb 08:33
ce1d8ea

Choose a tag to compare

🐛 Bugfix

  • Android: fix unregister not working on Android 12+ due to remove SECURE_FLAG on wrong targeted Activity. PR: #84

v1.0.4

19 Nov 16:48

Choose a tag to compare

🐛 Bugfix

  • register: fix crash when hex color failed parsing on iOS PR #77 thanks to @dziter
  • fix #72
  • fix ScreenGuardColorActivity cannot be closed due to strict limitation of Broadcast Receiver on Android 13+.

v1.0.2

16 Jul 03:38

Choose a tag to compare

𝌡 Change

JS/TS:

  • Expose ScreenGuardConstant for easier reusing.

🌈 Improvement

  • registerWithImage: Improve image position.

🐛 Bugfix

web-doc-v0.0.1

06 Jun 17:43
7c610b1

Choose a tag to compare

✨ Feature

Built and launched a webpage document based on the current README.md file due to issue #61. From now on, all future updates, release announcements, and function definitions will be available here for easier navigation and reading.

On GitHub, the Releases and README.md page will only contain a brief summary of any change log or update of the library.

https://gbumps.github.io/react-native-screenguard