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

Improve ability to debug Gateway issues in production #172

Open
latin-panda opened this issue Mar 29, 2021 · 0 comments
Open

Improve ability to debug Gateway issues in production #172

latin-panda opened this issue Mar 29, 2021 · 0 comments
Labels
Type: Feature Add something new Type: Improvement Make something better

Comments

@latin-panda
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Historically, there have been behaviours and issues in Gateway that is hard to debug in production and it could be affecting projects.

There are many variables to consider: Phone model, Android version, Internet connection, etc.
The current log screen has a very short history list and logcat not always is the best option for debugging since some issues are reported to only happen when the phone isn't connected to the computer.

Describe the solution you'd like
Do some research:

  • See if Android has something to improve the debug experience for production environment.
  • Check the mobile dev community and see what other apps do to mitigate this situation.

We need:

  • Detailed logs and more log captures overtime.
  • Phone information: brand, model, current memory (running out?), current storage (running out?).
  • If possible environment information: was the internet signal okay?

Describe alternatives you've considered

  • Keep a file in the phone with all that information and it will clear itself periodically (every 2 or 4 months).
  • If the phone's space is a concern, then store the information in the cloud (medic's couchDB?) and maybe flag when there's an exception. But then it needs to keep the info in cache, if there's not internet and then update when it gets signal again (?)
@latin-panda latin-panda added Type: Improvement Make something better Type: Feature Add something new labels Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature Add something new Type: Improvement Make something better
Projects
None yet
Development

No branches or pull requests

1 participant