Skip to content
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

fix: missing verification for analytics toggle (WPB-10587) #3378

Conversation

alexandreferris
Copy link
Contributor

@alexandreferris alexandreferris commented Aug 27, 2024

StoryWPB-10587 [Android] Hide/Show Analytics Toggle in Privacy Settings Screen


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Issues

When on custom backends (different from PROD or STAGING) we were showing the analytics toggle in Privacy Settings Screen

Causes (Optional)

We had the verification already set but was not being used

Solutions

Use state attribute containing the value to show or hide the analytics toggle

Testing

How to Test

  • Run App on PROD/STAGING -> dialog/toggle should be shown
  • Run App on custom backend (Anta for example) -> dialog/toggle should NOT be shown

@alexandreferris alexandreferris self-assigned this Aug 27, 2024
@alexandreferris alexandreferris requested review from a team, typfel, mchenani, Garzas, ohassine and saleniuk and removed request for a team August 27, 2024 07:32
Signed-off-by: alexandreferris <[email protected]>
Copy link

Copy link
Contributor

Built wire-android-staging-compat-pr-3378.apk is available for download

@alexandreferris alexandreferris added this pull request to the merge queue Aug 27, 2024
Merged via the queue into release/candidate with commit 7887df8 Aug 27, 2024
12 of 13 checks passed
@alexandreferris alexandreferris deleted the fix/missing_verification_for_analytics_toggle branch August 27, 2024 08:30
github-actions bot pushed a commit that referenced this pull request Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants