flutterplaza / no_screenshot Goto Github PK
View Code? Open in Web Editor NEWFlutter plugin to enable, disable or toggle screenshot support in your application.
License: BSD 3-Clause "New" or "Revised" License
Flutter plugin to enable, disable or toggle screenshot support in your application.
License: BSD 3-Clause "New" or "Revised" License
I have not tested this plugin on Android. But I was not able to disable the screenshot on iPhone X.
[โ] Flutter (Channel stable, 3.3.3, on macOS 13.0.1 22A400 darwin-arm, locale en-NP)
[โ] Xcode - develop for iOS and macOS (Xcode 14.1)
I used this package to prevent screenshots in my flutter app .
In ios after the app is sent to background , a message pops in the debug console .
message =>
[iOS][Snapshotting] Snapshotting a view that has not been rendered at least once requires afterScreenUpdates:YES.
and when the app is resumed , I was able to take screenshots.
After restarting everything was normal again.
Description
Create (a) Test(s) to ensure that after the _noScreenshot.toggleScreenshot()
is pressed, the screenshot feature should be working or not based on the previous state.
Description
Implement a feature to prevent screenshots in Android and iOS. The screenshotBlockedWithBlur(opacity: 0.1)
method takes in a single argument, which is a double ( 0>= opacity <=1) representing the opacity of the blur.
When invoked, it will display the launch image while protecting the app's data from being captured in a screenshot. This helps ensure the security of sensitive information displayed in the app, such as personal information or financial data.
It's an easy and effective way to prevent data leakage by disabling screenshots in a specific part of the app and can be useful for apps that handle sensitive information.
In Ios I am not able to disable screenshot. Please add support for ios 17
Description
Create (a) Test(s) to ensure that after the _noScreenshot.screenshotOn()
is pressed, the screenshot feature should be working.
Description
Write a detailed description of the usage of no_screenshot with image, gif, and use cases.
check this package for a sample good documentation
Description
Implement a feature to prevent screenshots in Android and iOS. The screenshotBlockedWithColor(Colors.green)
method takes in a single argument, which is the color.
When invoked, it will display the launch image while protecting the app's data from being captured in a screenshot. This helps ensure the security of sensitive information displayed in the app, such as personal information or financial data.
It's an easy and effective way to prevent data leakage by disabling screenshots in a specific part of the app and can be useful for apps that handle sensitive information.
Description
Implement a feature to prevent screenshots in Android and iOS. The screenshotBlockedWithImage('LaunchImage')
method takes in a single argument, which is the name of the launch image file.
When invoked, it will display the launch image while protecting the app's data from being captured in a screenshot. This helps ensure the security of sensitive information displayed in the app, such as personal information or financial data.
It's an easy and effective way to prevent data leakage by disabling screenshots in a specific part of the app and can be useful for apps that handle sensitive information.
Hello! I've noticed that it works perfectly on Android, but on iOS it's a different story. It doesn't prevent screenshots or screen recordings. Is there no support for that?
Description
Create a Stream, which emits a boolean based on the state of the screen being recorded or not.
This function is a useful way to determine if the user is currently recording the screen, allowing the developer to take appropriate actions, such as displaying a warning message or disabling certain features that should not be recorded.
Thank you for the convenient package.
The feature says "Disables screenshot and screen recoding on Android and iOS" but I could not disable screen recording on iOS.
On Android, the screen can be disabled and a black video is saved.
Is disabling screen recording on iOS planned to be implemented?
Or am I using it incorrectly?
Hello I am working with another plugin, which restarts the app at a certain time. Unfortunately the app crashes during the restart because NoScreenshot throws an error. Could you maybe fix the error?
kotlin.NotImplementedError: An operation is not implemented: Not yet implemented
at com.flutterplaza.no_screenshot.NoScreenshotPlugin.onDetachedFromActivity(NoScreenshotPlugin.kt:81)
Use this as guide
Description
Create (a) Test(s) to ensure that after the _noScreenshot.screenshotOff()
is pressed, the screenshot feature is blocked.
this package is not support for the ios version 17
This package causes my iOS app to crash in the background with an exc_bad_access error:
'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x16b95bf70)
frame #0: 0x00000001d3767e38 UIKitCore-[UIView(Internal) _presentationControllerToNotifyOnLayoutSubviews] + 4 UIKitCore
-[UIView(Internal) _presentationControllerToNotifyOnLayoutSubviews]:
This error is resolved when I remove the no_screenshot package from my app.
One thing to note is that it crashes on background even if it isn't being used with AppLifecycleState.
Description
Create a callback that is executed each time a screenshot is taken whether or not screenshot support is blocked
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.