Skip to content

Conversation

wb9688
Copy link
Contributor

@wb9688 wb9688 commented Oct 8, 2020

What is it?

  • Bug fix (user facing)
  • Feature (user facing)
  • Code base improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

Add button in settings to clear reCAPTCHA cookies

Fixes the following issue(s)

Fixes #4279

Testing apk

app-debug.apk.zip

Agreement

TobiGr
TobiGr previously approved these changes Oct 9, 2020
Copy link
Contributor

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me. Did not test, but I guess, you did :)

@TobiGr TobiGr added the privacy & data protection Issues regarding either NewPipe, Team NewPipe services or external services NewPipe uses label Oct 9, 2020
Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me, too, I don't see why it shouldn't work, though I will test.

@wb9688 could you provide an APK?

Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. Shouldn't the preference be disabled or hidden when there are no cookies to clear?

@wb9688 wb9688 requested a review from Stypox October 14, 2020 12:39
@wb9688
Copy link
Contributor Author

wb9688 commented Oct 14, 2020

@Stypox: Now it's hidden when there's no cookie (and will hide when you press it). I confirmed that it works using Stetho.

@opusforlife2
Copy link
Collaborator

Does it always check for "no cookie" before hiding or does tapping it suffice? In other words, does it assume the operation will succeed or does it wait and check that cookies have been cleared before hiding? Is hiding prevented if the operation fails for whatever reason?

@Stypox
Copy link
Member

Stypox commented Oct 14, 2020

Either the operation fails making the app crash before it gets to hide the button or the operation succeeds thus correctly hiding the button. So there is no room for inconsistency here

Copy link
Member

@Stypox Stypox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thank you!

@TobiGr TobiGr merged commit 3c5ed2c into TeamNewPipe:dev Oct 16, 2020
This was referenced Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature request Issue is related to a feature in the app privacy & data protection Issues regarding either NewPipe, Team NewPipe services or external services NewPipe uses

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Option to delete google cookies

4 participants