Login
The business requirements for GreenPass Reader, were that the data stored in mobile device would be protected by some form of authentication. As there is not a central user storage (for registration / login / reset password), the one form of authentication that could be used was PIN Code / biometrics authentication (FaceID, TouchID, or fingerprint scanning on Android devices).
#
Registration & Login#
PIN code setup & verificationAll user data are strictly kept on device, using encrypted database (Realm) and Keychain. Users could setup 6 or 4 digit PIN Code that they would use as fallback to the FaceID / TouchID.
#
Opening app from backgroundWhen you send the app to the background, you will be asked again to authenticate.