jberkel / sms-backup-plus

Backup Android SMS, MMS and call log to Gmail / Gcal / IMAP
https://play.google.com/store/apps/details?id=com.zegoggles.smssync
Apache License 2.0
1.8k stars 499 forks source link

[BUG] This app is blocked #1106

Closed paour closed 5 months ago

paour commented 8 months ago

Expected behaviour

When I trigger a backup, it should complete without error.

Actual behaviour

SMS Backup+ reports the following error: XOAuth authorization error. Please make sure you enabled IMAP in your Gmail account settings..

Play Services on my device displays a notification with the following alert:

Screenshot_20240131-141311

Reproduce by

No response

Android version

11 (2020)

Phone brand

OnePlus

Phone model number

8T

SMS Backup+ version

v1.6β

Messaging app

No response

Other details

No response

paour commented 8 months ago

This looks like the end of the road. Even side-loaded, the app is blocked server-side by Google…

pataquets commented 7 months ago

@paour #1102 stopped working?

paour commented 7 months ago

@paour #1102 stopped working?

Yes. I've been using app passwords forever because 2FA. I generated a new one when this cropped up, to no avail.

marclaporte commented 7 months ago

Workaround: use a standard IMAP account (strong password always): https://github.com/jberkel/sms-backup-plus#usage-without-gmail-imap

kurahaupo commented 7 months ago

"This app is blocked" occurs when an app uses a Google API.

The reason that using IMAP works is that although it's provided by Google, it's not defined by Google.

The IMAP protocol does not transmit any identification of the app, so the server cannot know which app is using the IMAP connection, and can't use that to decide to block it.

So the question is, which Google API is being refused?

(My money would be on the contacts list API; I would test that by changing the default message format to include just the phone number and exclude the person's name.)

BenJewell commented 7 months ago

Still works fine for me using IMAP. Was getting a lot of errors a couple weeks ago but seems to have resolved itself.

kurahaupo commented 5 months ago

Appears to be a duplicate of #1046