[GH-ISSUE #809] Incoming SMS during Restore #647

Open
opened 2026-02-26 01:31:13 +03:00 by kerem · 17 comments
Owner

Originally created by @NickHirras on GitHub (Sep 29, 2017).
Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/809

If I'm doing a long running restore, say it takes a few hours. While that's running and SMS Backup is set as the default messaging app, will new incoming texts get dropped / lost?

Originally created by @NickHirras on GitHub (Sep 29, 2017). Original GitHub issue: https://github.com/jberkel/sms-backup-plus/issues/809 If I'm doing a long running restore, say it takes a few hours. While that's running and SMS Backup is set as the default messaging app, will new incoming texts get dropped / lost?
Author
Owner

@Woi commented on GitHub (Feb 23, 2018):

I don't know the answer. But you could just enable flight mode and re-enable wifi for the restore.

<!-- gh-comment-id:368064933 --> @Woi commented on GitHub (Feb 23, 2018): I don't know the answer. But you could just enable flight mode and re-enable wifi for the restore.
Author
Owner

@nbali commented on GitHub (Mar 14, 2018):

I have a feeling that it's lost. At least for me the default app wasn't restored, and I went days without any SMS. It might be coincidence, but I suspect it's not.

ps.: successfully duplicated this one before finding it with https://github.com/jberkel/sms-backup-plus/issues/851

<!-- gh-comment-id:372984763 --> @nbali commented on GitHub (Mar 14, 2018): I have a feeling that it's lost. At least for me the default app wasn't restored, and I went days without any SMS. It might be coincidence, but I suspect it's not. ps.: successfully duplicated this one before finding it with https://github.com/jberkel/sms-backup-plus/issues/851
Author
Owner

@jberkel commented on GitHub (Mar 14, 2018):

yes, there's a chance that it can get lost. this is unfortunately a result of Android's permission design, which requires the app to become the default SMS app in order to write to the database. everytime you start SMS Backup it will check if it's still the default app and ask you to switch back.

I'm sure the process could be improved, but as I said there are substantial design flaws in the OS itself.

https://github.com/jberkel/sms-backup-plus/#faq-restore-default-app

<!-- gh-comment-id:372995822 --> @jberkel commented on GitHub (Mar 14, 2018): yes, there's a chance that it can get lost. this is unfortunately a result of Android's permission design, which requires the app to become the default SMS app in order to write to the database. everytime you start SMS Backup it will check if it's still the default app and ask you to switch back. I'm sure the process could be improved, but as I said there are substantial design flaws in the OS itself. https://github.com/jberkel/sms-backup-plus/#faq-restore-default-app
Author
Owner

@NickHirras commented on GitHub (Mar 14, 2018):

Could functionality be added to allow sms-backup-plus to continue to
receive and store texts as unread while it's active? Then when another app
is restored as default client they'd show up in that app?

On Mar 14, 2018 6:56 AM, "Jan Berkel" notifications@github.com wrote:

yes, there's a chance that it can get lost. this is unfortunately a result
of Android's permission design, which requires the app to become the
default SMS app in order to write to the database. everytime you start SMS
Backup it will check if it's still the default app and ask you to switch
back.

I'm sure the process could be improved, but as I said there are
substantial design flaws in the OS itself.

https://github.com/jberkel/sms-backup-plus/#faq-restore-default-app


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jberkel/sms-backup-plus/issues/809#issuecomment-372995822,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADuvzCSC_gqzrHdOdeIf4W8jH6sXqOt-ks5teQVZgaJpZM4PoKiS
.

<!-- gh-comment-id:373006149 --> @NickHirras commented on GitHub (Mar 14, 2018): Could functionality be added to allow sms-backup-plus to continue to receive and store texts as unread while it's active? Then when another app is restored as default client they'd show up in that app? On Mar 14, 2018 6:56 AM, "Jan Berkel" <notifications@github.com> wrote: > yes, there's a chance that it can get lost. this is unfortunately a result > of Android's permission design, which requires the app to become the > default SMS app in order to write to the database. everytime you start SMS > Backup it will check if it's still the default app and ask you to switch > back. > > I'm sure the process could be improved, but as I said there are > substantial design flaws in the OS itself. > > https://github.com/jberkel/sms-backup-plus/#faq-restore-default-app > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/jberkel/sms-backup-plus/issues/809#issuecomment-372995822>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/ADuvzCSC_gqzrHdOdeIf4W8jH6sXqOt-ks5teQVZgaJpZM4PoKiS> > . >
Author
Owner

@jberkel commented on GitHub (Mar 14, 2018):

@imnes I need to check – it should be possible. but there's always a risk of something going wrong (a bug in the receiving code etc), that's why enabling flightmode during long restore operations is the safest choice right now

<!-- gh-comment-id:373008831 --> @jberkel commented on GitHub (Mar 14, 2018): @imnes I need to check – it should be possible. but there's always a risk of something going wrong (a bug in the receiving code etc), that's why enabling flightmode during long restore operations is the safest choice right now
Author
Owner

@nbali commented on GitHub (Mar 14, 2018):

Even if that's not possible, a warning pop-up about this would be useful if the phone isn't in flightmode. (Obviously a prompt to turn it on would be best, but I have no idea if it's doable.)

<!-- gh-comment-id:373185183 --> @nbali commented on GitHub (Mar 14, 2018): Even if that's not possible, a warning pop-up about this would be useful if the phone isn't in flightmode. (Obviously a prompt to turn it on would be best, but I have no idea if it's doable.)
Author
Owner

@NickHirras commented on GitHub (Mar 14, 2018):

I would think there's an android SMS library that can be utilized but
haven't done much research yet. If I get some free time soon I'll look
into some options and what it would take to integrate!

On Wed, Mar 14, 2018 at 4:44 PM, Balázs Németh notifications@github.com
wrote:

Even if that's not possible, a warning pop-up about this would be useful
if the phone isn't in flightmode. (Obviously a prompt to turn it on would
be best, but I have no idea if it's doable.)


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jberkel/sms-backup-plus/issues/809#issuecomment-373185183,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADuvzE1gFah8UVE1U11VgCDwu0jCBD1tks5teY9EgaJpZM4PoKiS
.

<!-- gh-comment-id:373190323 --> @NickHirras commented on GitHub (Mar 14, 2018): I would think there's an android SMS library that can be utilized but haven't done much research yet. If I get some free time soon I'll look into some options and what it would take to integrate! On Wed, Mar 14, 2018 at 4:44 PM, Balázs Németh <notifications@github.com> wrote: > Even if that's not possible, a warning pop-up about this would be useful > if the phone isn't in flightmode. (Obviously a prompt to turn it on would > be best, but I have no idea if it's doable.) > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/jberkel/sms-backup-plus/issues/809#issuecomment-373185183>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/ADuvzE1gFah8UVE1U11VgCDwu0jCBD1tks5teY9EgaJpZM4PoKiS> > . >
Author
Owner

@jberkel commented on GitHub (Mar 14, 2018):

I'll add a more prominent warning. There's already a popup, but it doesn't mention the risk of data loss.

<!-- gh-comment-id:373212306 --> @jberkel commented on GitHub (Mar 14, 2018): I'll add a more prominent warning. There's already a popup, but it doesn't mention the risk of data loss.
Author
Owner

@jberkel commented on GitHub (Mar 19, 2018):

@imnes @nbali will be fixed in next beta (-14). the message is saved, but no notification will be generated for it. it will be visible in the normal messages app.

<!-- gh-comment-id:374069314 --> @jberkel commented on GitHub (Mar 19, 2018): @imnes @nbali will be fixed in next beta (-14). the message is saved, but no notification will be generated for it. it will be visible in the normal messages app.
Author
Owner

@jberkel commented on GitHub (Mar 23, 2018):

@nbali @imnes It'd be cool if you could verify that this actually works. If have only tested on an emulator.

<!-- gh-comment-id:375500290 --> @jberkel commented on GitHub (Mar 23, 2018): @nbali @imnes It'd be cool if you could verify that this actually works. If have only tested on an emulator.
Author
Owner

@NickHirras commented on GitHub (Mar 23, 2018):

Did you add sms receipt or that notice?

On Thu, Mar 22, 2018, 7:24 PM Jan Berkel notifications@github.com wrote:

@nbali https://github.com/nbali @imnes https://github.com/imnes I'd
be cool if you could verify that this actually works. If have only tested
on an emulator.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jberkel/sms-backup-plus/issues/809#issuecomment-375500290,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADuvzFyCRQo2qYgrpEKtVbdBYCdfwpNCks5thEDWgaJpZM4PoKiS
.

<!-- gh-comment-id:375500938 --> @NickHirras commented on GitHub (Mar 23, 2018): Did you add sms receipt or that notice? On Thu, Mar 22, 2018, 7:24 PM Jan Berkel <notifications@github.com> wrote: > @nbali <https://github.com/nbali> @imnes <https://github.com/imnes> I'd > be cool if you could verify that this actually works. If have only tested > on an emulator. > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/jberkel/sms-backup-plus/issues/809#issuecomment-375500290>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/ADuvzFyCRQo2qYgrpEKtVbdBYCdfwpNCks5thEDWgaJpZM4PoKiS> > . >
Author
Owner

@jberkel commented on GitHub (Mar 23, 2018):

@imnes it saves the incoming SMS to the storage. the notice was updated as well.

<!-- gh-comment-id:375502560 --> @jberkel commented on GitHub (Mar 23, 2018): @imnes it saves the incoming SMS to the storage. the notice was updated as well.
Author
Owner

@NickHirras commented on GitHub (Mar 23, 2018):

Awesome! Will give it a try and report back!

On Thu, Mar 22, 2018, 7:39 PM Jan Berkel notifications@github.com wrote:

@imnes https://github.com/imnes it saves the incoming SMS to the
storage. the notice was updated as well.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jberkel/sms-backup-plus/issues/809#issuecomment-375502560,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADuvzGG64-lM_FyO2woKzUgJ6QDafgV_ks5thERDgaJpZM4PoKiS
.

<!-- gh-comment-id:375502692 --> @NickHirras commented on GitHub (Mar 23, 2018): Awesome! Will give it a try and report back! On Thu, Mar 22, 2018, 7:39 PM Jan Berkel <notifications@github.com> wrote: > @imnes <https://github.com/imnes> it saves the incoming SMS to the > storage. the notice was updated as well. > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/jberkel/sms-backup-plus/issues/809#issuecomment-375502560>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/ADuvzGG64-lM_FyO2woKzUgJ6QDafgV_ks5thERDgaJpZM4PoKiS> > . >
Author
Owner

@jcrben commented on GitHub (Apr 14, 2018):

@imnes can you try? would be good to get confirmation before 1.5.11

<!-- gh-comment-id:381338877 --> @jcrben commented on GitHub (Apr 14, 2018): @imnes can you try? would be good to get confirmation before 1.5.11
Author
Owner

@NickHirras commented on GitHub (Apr 15, 2018):

Is it in the current release in app store or do I need to sign up for a
beta or something?

On Sat, Apr 14, 2018, 10:55 AM Ben Creasy notifications@github.com wrote:

@imnes https://github.com/imnes can you try? would be good to get
confirmation before 1.5.11


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jberkel/sms-backup-plus/issues/809#issuecomment-381338877,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADuvzKwO9dXYYb1AQIoyUSTJzr0iSot9ks5tohvdgaJpZM4PoKiS
.

<!-- gh-comment-id:381374974 --> @NickHirras commented on GitHub (Apr 15, 2018): Is it in the current release in app store or do I need to sign up for a beta or something? On Sat, Apr 14, 2018, 10:55 AM Ben Creasy <notifications@github.com> wrote: > @imnes <https://github.com/imnes> can you try? would be good to get > confirmation before 1.5.11 > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/jberkel/sms-backup-plus/issues/809#issuecomment-381338877>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/ADuvzKwO9dXYYb1AQIoyUSTJzr0iSot9ks5tohvdgaJpZM4PoKiS> > . >
Author
Owner

@jcrben commented on GitHub (Apr 15, 2018):

https://github.com/jberkel/sms-backup-plus#beta

<!-- gh-comment-id:381376452 --> @jcrben commented on GitHub (Apr 15, 2018): https://github.com/jberkel/sms-backup-plus#beta
Author
Owner

@NickHirras commented on GitHub (Apr 18, 2018):

I installed the latest beta last night and attempted a backup overnight.
When I woke up it had shown an I/O error, not sure if I'll have a chance to
test restore functionality before next week.

On Sat, Apr 14, 2018 at 9:59 PM, Ben Creasy notifications@github.com
wrote:

https://github.com/jberkel/sms-backup-plus#beta


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jberkel/sms-backup-plus/issues/809#issuecomment-381376452,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADuvzGagYDQbMGBKI8YUwkNm1dZOys6_ks5toreLgaJpZM4PoKiS
.

<!-- gh-comment-id:382390064 --> @NickHirras commented on GitHub (Apr 18, 2018): I installed the latest beta last night and attempted a backup overnight. When I woke up it had shown an I/O error, not sure if I'll have a chance to test restore functionality before next week. On Sat, Apr 14, 2018 at 9:59 PM, Ben Creasy <notifications@github.com> wrote: > https://github.com/jberkel/sms-backup-plus#beta > > — > You are receiving this because you were mentioned. > Reply to this email directly, view it on GitHub > <https://github.com/jberkel/sms-backup-plus/issues/809#issuecomment-381376452>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/ADuvzGagYDQbMGBKI8YUwkNm1dZOys6_ks5toreLgaJpZM4PoKiS> > . >
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/sms-backup-plus-jberkel#647
No description provided.