422 manual sign in not connecting to local database only connected to remote
requested to merge 422_Manual_sign-in_not_connecting_to_local_database_only_connected_to_remote into main
License and Copyright Notice
By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).
Branch Name
422_Manual_sign-in_not_connecting_to_local_database_only_connected_to_remote
Related Issues
Closes #422
Description
Allows the user to check-in using the local database for manual barcode check-in. If the user uses a phone number, they will be asked to locally register instead.
Steps to Test
- Connect to local database.
- Register a user locally.
- Test manual check-in while connected to the local database, including valid and invalid barcodes and phone numbers.
- Connect to remote database.
- Test manual check-in while connected to the remote database, including valid and invalid barcodes and phone numbers.
Relevant Screenshots
Relevant Logs
Developer Notes
- Note 1: This branch doesn't edit any fragments. A toast tells the user that they are connected to the local database when they submit a check-in attempt
- Note 2: Guest Registration uses the GuestRegistryHelper class to access the local database, not GuestRegistrySource like the remote database. This line can be found in SummaryFragment on line 318. To be consistent, this branch also uses GuestRegistryHelper and creates an isRegistered method for check-in, named after the isRegistered method in GuestRegistrySource.
- Note 3:Variables that access the local database have all been named localRegDatabase.
Edited by Devaun Huff