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

Add App Reset functionality in the settings #145

Open
yatharthranjan opened this issue Jul 19, 2024 · 1 comment · May be fixed by #146
Open

Add App Reset functionality in the settings #145

yatharthranjan opened this issue Jul 19, 2024 · 1 comment · May be fixed by #146
Assignees

Comments

@yatharthranjan
Copy link
Member

yatharthranjan commented Jul 19, 2024

There should be functionality to clear the cache and app data within the app settings. This is useful for using the app in clinic or hospital environments where the same device and app instance are used with multiple patients, so the doctors can reset and re-scan the QR code of new patients easily (avoiding having to go into the Android settings). This is already a part of the aRMT app.

Related: It would also be nice to show the settings button in the app's header instead of the 3-dot options.

Alternative solution: Have a scan QR code again option directly in the app or the app's settings page. Using this, the clinician does not need to reset the app, as they can directly scan a new QR code for another patient. The app would still clear the data for previous patients on a new QR code scan

@this-Aditya
Copy link
Member

While the functionality to clear the application data would indeed reset the app to its initial state, but clearing app data results in the loss of all granted permissions and forces the app to stop,.

Therefore, a more appropriate solution would be to implement a logout functionality. This would allow the user to log out from the app and redirect them to the login screen.

Added the related issue to radar-commons-android => RADAR-base/radar-commons-android#457

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

Successfully merging a pull request may close this issue.

2 participants