From 615324239a08d14841af79d73b1c98a1cd3c5a77 Mon Sep 17 00:00:00 2001 From: Dave Viggiano Date: Thu, 2 Mar 2023 10:58:42 -0500 Subject: [PATCH 001/582] Initial work on ConnectId UI and some intro logic. Working toward POC. --- app/AndroidManifest.xml | 3 + .../locales/android_translatable_strings.txt | 25 ++- app/build.gradle | 2 + app/res/layout/screen_connect_login.xml | 50 ++++++ .../layout/screen_connect_registration.xml | 89 +++++++++ app/res/layout/screen_connect_verify.xml | 59 ++++++ app/res/layout/screen_login.xml | 10 ++ .../commcare/activities/BiometricsHelper.java | 81 +++++++++ .../activities/ConnectIdLoginActivity.java | 169 ++++++++++++++++++ .../ConnectIdLoginActivityUIController.java | 55 ++++++ .../ConnectIdRegistrationActivity.java | 54 ++++++ ...ectIdRegistrationActivityUiController.java | 65 +++++++ .../ConnectIdVerificationActivity.java | 92 ++++++++++ ...ectIdVerificationActivityUiController.java | 67 +++++++ .../commcare/activities/LoginActivity.java | 73 ++++++++ .../activities/LoginActivityUIController.java | 13 ++ 16 files changed, 906 insertions(+), 1 deletion(-) create mode 100644 app/res/layout/screen_connect_login.xml create mode 100644 app/res/layout/screen_connect_registration.xml create mode 100644 app/res/layout/screen_connect_verify.xml create mode 100644 app/src/org/commcare/activities/BiometricsHelper.java create mode 100644 app/src/org/commcare/activities/ConnectIdLoginActivity.java create mode 100644 app/src/org/commcare/activities/ConnectIdLoginActivityUIController.java create mode 100644 app/src/org/commcare/activities/ConnectIdRegistrationActivity.java create mode 100644 app/src/org/commcare/activities/ConnectIdRegistrationActivityUiController.java create mode 100644 app/src/org/commcare/activities/ConnectIdVerificationActivity.java create mode 100644 app/src/org/commcare/activities/ConnectIdVerificationActivityUiController.java diff --git a/app/AndroidManifest.xml b/app/AndroidManifest.xml index a840ce0eb1..9a0a0b4a29 100644 --- a/app/AndroidManifest.xml +++ b/app/AndroidManifest.xml @@ -143,6 +143,9 @@ + + + + + + + + + + +