neckaros / secure_application

Secure your application from prying eyes
MIT License
102 stars 57 forks source link

Can you please add a parameter to allow screenshot as an option? #35

Open adnankhan74444 opened 2 years ago

adnankhan74444 commented 2 years ago

@neckaros any update about this?

radoo11 commented 2 years ago

+1 I needed hidden app in background switcher with possibility of taking screenshots. For my use case I found workaround: iOS working without that but for Android purposes I added this from import 'package:flutter_windowmanager/flutter_windowmanager.dart' library

secureAppNotifier.secure();
if (Platform.isAndroid) {
  FlutterWindowManager.clearFlags(
      FlutterWindowManager.FLAG_SECURE);
}