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) 🍒 #3379

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 27, 2024

This PR was automatically cherry-picked based on the following PR:

Original PR description:


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

@github-actions github-actions bot added cherry-pick PR is cherry-picking changes from another banch echoes/initiative: product-metrics-in-countly Analytics and KPIs size/XS labels Aug 27, 2024
@alexandreferris alexandreferris self-requested a review August 27, 2024 08:33
Copy link

@alexandreferris alexandreferris requested review from a team, typfel, yamilmedina, borichellow, MohamadJaara and vitorhugods and removed request for a team August 27, 2024 08:51
Copy link
Contributor Author

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

Copy link
Contributor Author

Built wire-android-dev-debug-pr-3379.apk is available for download

@alexandreferris alexandreferris added this pull request to the merge queue Aug 27, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 27, 2024
@alexandreferris alexandreferris added this pull request to the merge queue Aug 27, 2024
Merged via the queue into develop with commit 1a8c31f Aug 27, 2024
11 of 12 checks passed
@alexandreferris alexandreferris deleted the fix/missing_verification_for_analytics_toggle-cherry-pick branch August 27, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick PR is cherry-picking changes from another banch echoes/initiative: product-metrics-in-countly Analytics and KPIs size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants