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

[Feature Request] Adding logs in case the app crashes #308

Open
RevealedSoulEven opened this issue Mar 11, 2023 · 1 comment
Open

[Feature Request] Adding logs in case the app crashes #308

RevealedSoulEven opened this issue Mar 11, 2023 · 1 comment

Comments

@RevealedSoulEven
Copy link
Contributor

As you might be aware many chinese firmwares quit the apps in background no matter you removed battery restrictions.
I'm on MIUI and same thing happens. By luck sometimes I can complete a session of 2 hours and sometimes the app is force stopped after 80-100 minutes.

The problem here is that you actually don't know how much time you spent on the session if you set a session for like 150 minutes, and you actually don't know the average of the session completed.

So please add a log option(maybe hidden somewhere or in the settings) which would log requests and the session duration along with time (maybe every 2-3 minutes) so that if the app gets terminated, users can calculate the time on their own and add it manually.

For example I started a session at 2:00pm and took few breaks in between, so I actually don't know the time spent without the break(the time I paused the session).
So if the app crashes maybe around 3:08pm and it would have generated a log somewhere about 3:04 or 3:05 or 3:06. And then I'll calculate the remaining time myself and add the session manually.

It will also help us to see how much time we're spending on breaks rather than focusing on our work.
Will be pleased to hear from you soon.

Thank you.

@sreich
Copy link

sreich commented Jul 31, 2024

So, isn't this just a matter of us handling shutdowns gracefully?

I mean obviously fixing crashes would be great but reality is Android apps have to be designed for their activities to die at any point in time, with little warning

Our settings and data should be prepared and persisted for such situations, I recall Android having mechanisms to help facilitate this imo

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

No branches or pull requests

2 participants