BCR icon indicating copy to clipboard operation
BCR copied to clipboard

Delete Record

Open Savaturkey opened this issue 3 years ago • 5 comments

I enjoy using your application. There is a little problem.It records, but I set a period of 7 days for it to delete previous recordings, but it doesn't.

Savaturkey avatar Sep 29 '23 05:09 Savaturkey

Can you enable debug mode by long pressing BCR's version number, make a call, and then upload the log file that it saves in the output directory?

chenxiaolong avatar Sep 29 '23 06:09 chenxiaolong

29-09-2023 ~ 09_34_out _ 08507240724_İş BANKASI.log.txt

Can you open the file? How can I send this to you?

Savaturkey avatar Sep 29 '23 06:09 Savaturkey

Thanks for the logs. I think it's caused by the dd-MM-yyyy ~ HH:mm timestamp format. Android does not support : inside filenames, so the HH:mm gets renamed to HH_mm when the file is saved. Later, when BCR looks at the old files, the colon is missing, so it doesn't understand the timestamp and nothing is cleaned up.

I think you can fix this by simply changing : to _ in your filename template.

chenxiaolong avatar Sep 29 '23 16:09 chenxiaolong

My log format is {date:dd-MM-yyyy ~ HH:mm}[_{direction}|][ {phone_number}|][[{contact_name}|{caller_name}|{call_log_name}]|] ..........

Savaturkey avatar Sep 29 '23 17:09 Savaturkey

The output is also 28-09-2023 ~ 14_59_in _ 0547673663_savaturjey In this way, it is very understandable. If this is the problem, I would definitely prefer to delete the records myself. Thank you

Savaturkey avatar Sep 29 '23 17:09 Savaturkey