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

feat: Add Anonymous Analytics User Profile - (WPB-8978) #3226

Merged
merged 24 commits into from
Jul 30, 2024

Conversation

alexandreferris
Copy link
Contributor

@alexandreferris alexandreferris commented Jul 23, 2024

TaskWPB-8978 [Android] Countly analytics ID and user properties


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

We had no way of setting a user profile to current logged in user

Causes (Optional)

Not implemented.

Solutions

Implement a way to observe current logged in account, changes on analytics settings and possible analytics identifier coming from other clients.

Dependencies (Optional)

Needs releases with:

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

How to Test

  • Open App
  • Login
  • From App Inspection check you analytics identifier from Metadata table and verify against on our analytics tool.
  • Same to be done when switching accounts
    • Login into same account on another platform (if android on same branch, better), already logged in user will receive a new tracking id from new logged in device and start using it

… user profile properties

Signed-off-by: alexandreferris <[email protected]>
Signed-off-by: alexandreferris <[email protected]>
…d data class for combining analytics result

Signed-off-by: alexandreferris <[email protected]>
…csResult and both new handlers

Signed-off-by: alexandreferris <[email protected]>
…t account and analytics settings changes

Signed-off-by: alexandreferris <[email protected]>
…nymousAnalyticsManagerTest

Signed-off-by: alexandreferris <[email protected]>
Signed-off-by: alexandreferris <[email protected]>
@alexandreferris alexandreferris requested review from a team, typfel, yamilmedina, Garzas, ohassine, saleniuk and MohamadJaara and removed request for a team July 23, 2024 14:42
Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Contributor

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

Copy link

Copy link
Contributor

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

Copy link
Contributor

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

@MohamadJaara MohamadJaara added this pull request to the merge queue Jul 30, 2024
Merged via the queue into develop with commit a601eab Jul 30, 2024
12 checks passed
@MohamadJaara MohamadJaara deleted the feat/analytics_tracking_identifier_generation branch July 30, 2024 08:26
@alexandreferris alexandreferris removed WIP Work In Progress DO NOT MERGE labels Jul 31, 2024
alexandreferris added a commit that referenced this pull request Aug 1, 2024
Signed-off-by: alexandreferris <[email protected]>
(cherry picked from commit a601eab)
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.

4 participants