Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to take screenshot #104

Open
clehner opened this issue Jun 3, 2022 · 1 comment
Open

Unable to take screenshot #104

clehner opened this issue Jun 3, 2022 · 1 comment

Comments

@clehner
Copy link
Contributor

clehner commented Jun 3, 2022

On Android, the app disallows taking screenshots. As a user, I want to be able to take screenshots.

@clehner
Copy link
Contributor Author

clehner commented Jun 3, 2022

Workaround:

diff --git a/lib/app/app_widget.dart b/lib/app/app_widget.dart
index 47625c1..2830542 100644
--- a/lib/app/app_widget.dart
+++ b/lib/app/app_widget.dart
@@ -39,7 +39,7 @@ class _AppWidgetState extends State<AppWidget> {
   void initState() {
     super.initState();
     _controller = SecureApplicationController(SecureApplicationState());
-    _controller.secure();
+    // _controller.secure();
   }
 
   Future<bool> _authenticate() async {

Ref: https://github.com/neckaros/secure_application/blob/master/README.md#android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant