sms-backup-plus
sms-backup-plus copied to clipboard
Include SMS drafts in backup
Unfinished SMS that are not sent and are only saved as drafts in the default app are not backed up to google account. Neither automatic nor manual backup seems to work. Device: Huawei P10 Android version: 7.0 SMS Backup+ 1.5.10
Log: https://gist.github.com/vladutm/d7d77d90f2ff4f93fde07e9079840625
I'm not sure if the app should really back up drafts. This is the first and only request for such a feature.
Well, I would like that drafts to be backed up since I have a few drafts and the information in them is not irrelevant. For now, drafts are missing from my backup, but I guess I'll have to turn to another app/solution then for my need.
Another problem with drafts is that they can change. You do a backup, copy the draft. The user then makes modifications to the draft. What do you do on the next backup run? Replace the existing copy of the draft (difficult with email)? Copy another version of the draft? There would be all sorts of potential problems/edge cases.
BTW are drafts stored in SMS storage or in app's storage?
I understand your point. From my side, the existing copy of the draft should be replaced to match the one on the device. Anyhow my drafts are not going to change.
What you said reminds me of another thing I wanted to mention/suggest: in the email sms are kept not only with the recipient number but with the name of the contact also(if that setting is chosen). But in the case of change of the contact name, in the email the name will not update and the old one will remain, making it difficult to search for a specific contact name in the email when you have two or more different names for the same person. I realize this suggestion of mine will be difficult to implement and although nice to have maybe it's not very useful.
@ildar there's a special content_uri for draft messages (https://developer.android.com/reference/android/provider/Telephony.Sms.Draft.html), so I assume they are accesible from other applications.
@vladutm what you're suggesting is indeed difficult to implement. usually once emails are stored they aren't touched again. there might be some specialized email tools which can do rename operations like that
IIRC, when the Gmail app shows messages without a human name in the From: header, it can search for a matching contact or Gmail account and use the name from there.
Maybe the solution to this problem is to entirely avoid putting a name in the From: header.
That said, I have some friends who swap SIMs (and thus phone numbers) and/or email addresses between family numbers, so handling this well is part of a much larger problem.
-Martin