no_screenshot 0.3.3-beta.1 copy "no_screenshot: ^0.3.3-beta.1" to clipboard
no_screenshot: ^0.3.3-beta.1 copied to clipboard

Flutter plugin to enable, disable, toggle or stream screenshot activities in your application.

0.0.1 #

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

0.0.1+1 #

Updated readme and added sample usage.

0.0.1+2 #

  • Adopted MIT license

0.0.1+3 #

  • Reverted to BSD 3 license
  • Added documentation
  • Made NoScreenshot class a singleton

0.0.1+4 #

0.0.1+5 #

  • Fixed broken link from pub dev analyses

0.0.1+6 #

  • Removed the non implemented override functions in android life-cycle

0.0.1+7 #

  • 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[https://github.com/FlutterPlaza/no_screenshot/pull/26]
  • merged fix by @ggiordan PR[https://github.com/FlutterPlaza/no_screenshot/pull/29]

0.2.0 #

  • Upgrade android to support AGP 8.X
  • merged fix by @alberto-cappellina PR[https://github.com/FlutterPlaza/no_screenshot/pull/27]
  • gradle:7.1.2 -> 7.4.2
  • kotlin_version = '1.6.10' -> '1.6.21'

1.0.0-beta.1 #

Summary of Changes #

  • 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 singleton NoScreenshot.instance.

1.0.0-beta.2 #

  • fix: Pub Point analysis failure.

0.3.1 #

  • feat: added MacOS support
  • fix: fix screenshot state not persisting on iOS
  • chore: added more examples.

0.3.2-beta.1 #

0.3.2-beta.3 #

0.3.2 #

0.3.3-beta.1 #

  • feat: added toggleScreenshotWithImage() API to display a custom image overlay when the app goes to the background or app switcher, preventing screenshot content exposure on both Android and iOS by @zhangyuanyuan-bear and @fonkamloic.
  • feat: image overlay mode persists across app restarts via platform SharedPreferences/UserDefaults by @zhangyuanyuan-bear and @fonkamloic.
  • fix: use Executors for SharedPreferences access on Android to avoid strict mode violations on startup by @djamoapp.
  • fix: properly clean up image overlay and activity references on detach/config changes (Android) by @fonkamloic.
  • chore: updated Kotlin and Gradle versions in Android build configuration by @bamlab.
  • chore: updated example app to demonstrate the new image overlay feature by @fonkamloic.
  • ci: added automated pub.dev publish workflow by @fonkamloic.
236
likes
160
points
79.5k
downloads

Publisher

verified publisherflutterplaza.com

Weekly Downloads

Flutter plugin to enable, disable, toggle or stream screenshot activities in your application.

Homepage
Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on no_screenshot

Packages that implement no_screenshot