-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
feat: initial 'Remove account' implementation #16260
Conversation
display a sample email account
Message to maintainers, this PR contains strings changes.
Read more about updating strings on the wiki, |
As long as the copycat also respects user privacy and we are not guarding intellectual property in the "Anki" name copycats are fine 🤷 - orthogonal issues |
f7ecd8c
to
a060092
Compare
* onKeyDown is now incorrect * Syncing used to be done on this screen * use `?.also` * loggedIntoMyAccountView
Required by Google Play > Such web links must be functional (e.g., load without errors) > relevant in scope e.g., > * have a pathway for requesting account deletion prominently displayed on the page > * and easily accessible > The name of the app or developer must be known (that is, it must match the name shown in the Google Play store listing) This change begins this: * A 'remove account' button opens AnkiWeb * A user must log in to AnkiWeb if they did not already do so in 'Shared Decks' *⚠️ A user must close and reopen the screen *⚠️ A user must press the 'remove account' button again * A user must enter their password * A user must type 'remove'⚠️ The name of the app is not provided on this screen Issue 16256
0668fe5
to
8f0efa7
Compare
Use a WebView as we need to control the 'after login' URL AnkiWeb currently redirects from 'https://ankiweb.net/account/remove-account -> * https://ankiweb.net/account/login then to either: * https://ankiweb.net/account/verify-email * https://ankiweb.net/decks Pressing 'back' on this screen closes it ---- Improvement to flow: ```diff * A 'remove account' button opens AnkiWeb * A user must log in to AnkiWeb if they did not already do so in 'Shared Decks' - *⚠️ A user must close and reopen the screen - *⚠️ A user must press the 'remove account' button again * A user must enter their password * A user must type 'remove' ``` Issue 16256
8f0efa7
to
7cea8b6
Compare
Google Request Issue 16256
Nits picked, Privacy policy added |
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.
Everything looks good, pulled it locally: tested all UI elements etc, working ✅
Fantastic, thank you
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.
Ok, for the code changes.
Is there a way to include some information on the deletion page that this account is used by all compatible Anki ecosystem apps including Anki Mobile, Anki Desktop, and AnkiDroid Flashcards?
Ask Damien very nicely to put a mention about the clients currently using the account data(Anki, Anki Mobile and AnkiDroid Flashcards)?
We have full control over the page as it's in a WebView But we also need this if the user clicks the delete account link from the Play Store, which isn't under our control |
Just trying to push strings through past flakiness... #16267 |
Maintainers: Please Sync Translations to produce a commit with only the automated changes from this PR. Read more about updating strings on the wiki, |
I can do this as a last resort, but I think it's unreasonable for a third-party service to have to do this - have you tried pointing out to them that the service is not under your control? I'm sure Twitter/X's account removal page doesn't list all the third-party clients that access it for example. |
That is, for example, |
Purpose / Description
Google require that we more prominently display 'Delete Account'
Fixes
Approach
How Has This Been Tested?
API 33 emulator
Learning (optional, can help others)
Google 🤷♂️ ... happily let copycats into the store, still make us jump through hoops
Checklist