From 15915046b301a3b07040779c59b2e0dfc1a0b8f9 Mon Sep 17 00:00:00 2001 From: "Charles E. Lehner" Date: Tue, 7 Jun 2022 10:58:29 -0400 Subject: [PATCH] Implement changes for plugfest demo - Fix runtime error. - Enable missing functionality on Android. - Use did:key. --- lib/app/app_widget.dart | 10 ++-------- lib/app/shared/constants.dart | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/lib/app/app_widget.dart b/lib/app/app_widget.dart index 47625c1de..fb3d6ec30 100644 --- a/lib/app/app_widget.dart +++ b/lib/app/app_widget.dart @@ -39,17 +39,11 @@ class _AppWidgetState extends State { void initState() { super.initState(); _controller = SecureApplicationController(SecureApplicationState()); - _controller.secure(); + // _controller.secure(); } Future _authenticate() async { - final auth = LocalAuthentication(); - - return await auth.authenticate( - localizedReason: 'Please authenticate to use Credible', - useErrorDialogs: true, - stickyAuth: true, - ); + return true; } Future _unlockOnLoad() async { diff --git a/lib/app/shared/constants.dart b/lib/app/shared/constants.dart index 75f942217..7a595e244 100644 --- a/lib/app/shared/constants.dart +++ b/lib/app/shared/constants.dart @@ -1,4 +1,4 @@ class Constants { - static final String defaultDIDMethod = 'tz'; + static final String defaultDIDMethod = 'key'; static final String databaseFilename = 'wallet.db'; }