ankidroid / Anki-Android

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
GNU General Public License v3.0
7.94k stars 2.16k forks source link

feat: initial 'Remove account' implementation #16260

Closed david-allison closed 2 weeks ago

david-allison commented 2 weeks ago

Purpose / Description

Google require that we more prominently display 'Delete Account'

Fixes


Approach

How Has This Been Tested?

API 33 emulator

Screenshot 2024-04-23 at 19 36 40 Screenshot 2024-04-23 at 19 37 08 Screenshot 2024-04-23 at 19 57 21 Screenshot 2024-04-23 at 20 33 05 Screenshot 2024-04-23 at 20 33 13

Learning (optional, can help others)

Google 🤷‍♂️ ... happily let copycats into the store, still make us jump through hoops

Checklist

github-actions[bot] commented 2 weeks ago

Message to maintainers, this PR contains strings changes.

  1. Before merging this PR, it is best to run the "Sync Translations" GitHub action, then make and merge a PR from the i18n_sync branch to get translations cleaned out.
  2. Then merge this PR, and immediately do another translation PR so the huge change made by this PR's key changes are all by themselves.

Read more about updating strings on the wiki,

mikehardy commented 2 weeks ago

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

david-allison commented 2 weeks ago

Nits picked, Privacy policy added

david-allison commented 2 weeks ago

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

mikehardy commented 2 weeks ago

Just trying to push strings through past flakiness... #16267

github-actions[bot] commented 2 weeks ago

Maintainers: Please Sync Translations to produce a commit with only the automated changes from this PR.

Read more about updating strings on the wiki,

dae commented 2 weeks ago

Ask Damien very nicely to put a mention about the clients currently using the account data(Anki, Anki Mobile and AnkiDroid Flashcards)?

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.

snowtimeglass commented 1 week ago

As a desirable approach on the client (AnkiDroid) side, I suppose that it would be better to use AnkiWeb logo for the "AnkiWeb account" screen rather than AnkiDroid logo (only), to be less misleading. image

In case that an app has a screen for connecting to Twitter/X, it is natural to use Twitter/X logo in the screen, rather than the logo of the app itself (only).

I would think the same is true for the screen for connecting to AnkiWeb.

snowtimeglass commented 1 week ago

it would be better to use AnkiWeb logo for the "AnkiWeb account" screen rather than AnkiDroid logo (only), to be less misleading.

That is, for example,

david-allison commented 1 week ago

As a desirable approach on the client (AnkiDroid) side, I suppose that it would be better to use AnkiWeb logo for the "AnkiWeb account" screen rather than AnkiDroid logo (only), to be less misleading. image

In case that an app has a screen for connecting to Twitter/X, it is natural to use Twitter/X logo in the screen, rather than the logo of the app itself (only).

I think the same would be true for the screen for connecting to AnkiWeb.

Could you move these comments to a separate issue? I agree and they should be discussed, but they'll be lost if added to a closed PR