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

Don't write duplicated log entries #11

Open
alexanderadam opened this issue Oct 5, 2020 · 6 comments
Open

Don't write duplicated log entries #11

alexanderadam opened this issue Oct 5, 2020 · 6 comments

Comments

@alexanderadam
Copy link

I have some duplicated entries following in the log and I guess this would be solvable.

@4nubhav
Copy link
Owner

4nubhav commented Oct 6, 2020

This happens because WhatsApp sends notifications for unread messages periodically, which are then added to the message log. I'm trying to figure out how to solve that. Feel free to share your ideas!

@alexanderadam
Copy link
Author

I'm not an Android dev and I didn't have a look at the implementation details but maybe something like tailing the log file for the last 3 lines and look whether the exact same line is already there?

@4nubhav
Copy link
Owner

4nubhav commented Oct 7, 2020

I'll try it out.

@alexanderadam
Copy link
Author

Were you able to give it a try?

@4nubhav
Copy link
Owner

4nubhav commented Jan 16, 2021

Not yet. I know it's been a long time 🙁
I'll look into it. Will take a few days..

@akramraza2
Copy link

It's a very easy fix . Just compare your incoming logs before setting it to adapter textview.

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

3 participants