Releases: gbumps/react-native-screenguard
v2.0.0-beta5
Support and rearrange RN version to 0.59 and above.
v2.0.1 - stable
This release continue to support v2.0.0 alongside with some improvements.
🐛 Bugfix
- Fixed
limitCaptureEvtCounton Android not firing event correctly. - Remove unused code Android.
- Fixed React-native 0.82+ ClassCassException on Android #125.
v2.0.0
Thanks for using React native screenguard, here are some new changes and features:
✨ Feature
- New hooks: useSGScreenShot and useSGScreenRecord for functional components
- New initSettings() configuration for easier control.
- New getScreenGuardLogs() for debugging and tracing event.
- separate between capture and recording through initSetting #46.
🌈 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
v1.1.1
v1.1.0
v1.0.9
Thanks for using react-native-screenguard. Here are new changes and improvement
✨ Feature
- New Architecture supported.
🌈 Improvement
-
Android: declaration ofcom.screenguard.ScreenGuardColorActivityis no longer required as this activity has been already declared inside Manifest of the library. -
registerScreenRecordEventListener: AddedrecordingStatusfor checking if user is performing a screen recording or not.
𝌡 Change
-
Refactor all functions to Promise except
registerScreenshotEventListenerandregisterScreenRecordEventListener. -
unregister: From now on,unregisterwill not remove screenshot EventListener and screenRecord EventListener. You must do it by usingremoveScreenshotEventListenerandremoveRecordingEventListener.
🐛 Bugfix
v1.0.6 - stable
🐛 Bugfix
- Android: fix
unregisternot working on Android 12+ due to remove SECURE_FLAG on wrong targeted Activity. PR: #84
v1.0.4
v1.0.2
𝌡 Change
JS/TS:
- Expose
ScreenGuardConstantfor easier reusing.
🌈 Improvement
registerWithImage: Improve image position.
🐛 Bugfix
registerWithImage: fix crash whendefaultSource= null on iOS thanks to @RikSchefferAmsterdam.registerWithImage: fixalignmentnot working at #67 thanks to @RikSchefferAmsterdam.- fix crash on Android 14 thanks to @bdtren
web-doc-v0.0.1
✨ 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