2

How to disable screenshot for a flutter App? I have tried and succeeded in android. for android :

Future<void> secureScreen() async {
    await FlutterWindowManager.addFlags(FlutterWindowManager.FLAG_SECURE);
 }

just called securescreen() method (defined above) inside my main() function in main.dart file.

How can i implement in Ios?

3
  • It's not possible to disable screenshot in iOS
    – ScorpiCon
    Mar 5, 2021 at 9:36
  • Is there any other way to obscure screenshot like putting a blur mask or something?
    – Syam
    Mar 5, 2021 at 9:59
  • There are some attempts, check this thread, however I can’t tell you how to use it on flutter. And in my opinion in most cases the efforts wouldn’t worth it because there’re way too many ways to grab screen data from the device
    – ScorpiCon
    Mar 5, 2021 at 10:29

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.