Package has 3 basic functionalities on android and IOS via method channel. - Disable screenshot support in app - Enable screenshot support in app - Toggle between enable and disable state
Updated readme and added sample usage.
- Adopted MIT license
- Reverted to BSD 3 license
- Added documentation
- Made
NoScreenshot
class a singleton
- Fixed issue #1Crashes app when backgrounded on iOS
- Fixed broken link from pub dev analyses
- Removed the non implemented override functions in android life-cycle
- Set the namespace for android
- Specify a more current version of ScreenProtectorKit. This resolves iOS17 issues.
- fix: screenshot prevention on iOS
- updated readme by @Musaddiq635 PR[#26]
- merged fix by @ggiordan PR[#29]
- Upgrade android to support AGP 8.X
- merged fix by @alberto-cappellina PR[#27]
- gradle:7.1.2 -> 7.4.2
- kotlin_version = '1.6.10' -> '1.6.21'
- Automatic State Persistence: Removed the need to track
didChangeAppLifecycleState
. The state will now be automatically persisted using native platform SharedPreferences. - Enhanced Example: Updated the example app to demonstrate the new automatic state persistence and usage of the
NoScreenshot
plugin. - Stream Support: Provided a stream to listen for screenshot activities, making it easier to react to screenshots in real-time.
- Bug Fixes: Fixed various bugs related to screenshot detection and state management on both Android and iOS platforms.
- Documentation Updates: Improved documentation to reflect the new features and provide clearer usage examples.
- Deprecation Notice: Deprecated the use of the constructor
NoScreenshot()
in favor of the singletonNoScreenshot.instance
.
- fix: Pub Point analysis failure.
- feat: added MacOS support
- fix: fix screenshot state not persisting on iOS
- chore: added more examples.