-
Notifications
You must be signed in to change notification settings - Fork 635
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
Prevent Google OAuth prompt on app launch #6380
Conversation
checkPermissions
flag on account checkThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not allowing permissions flow looks good ✅
Happy path looks good ✅
QA Passed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 🔥 🔥
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
Fixes APP-2239
What changed (plus any additional context for devs)
If the user had pending OAuth permissions, our backups sync would spam them due to the nature of how we retry on failures. We now prevent the prompt if they don't have permissions enabled, and if it does prompt we detect the cancellation and only prompt once instead of falling through the
try...catch
block.Screen recordings / screenshots
will try to capture one soon
What to test
https://rainbowhaus.slack.com/archives/C02C2FVC6N6/p1735921689825149?thread_ts=1735501963.465679&cid=C02C2FVC6N6