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: Segment SDK implementation and destinations #227

Merged

Conversation

farhan-arshad-dev
Copy link
Contributor

Description

  • Implementation of the Segment SDK to enable integration with the new app.
  • Make sure we make the right initial setup so that the mechanism matches the current production apps.
  • Make the correct connections with other party tools that the segment is feeding the data to:
    • Braze
    • Firebase
    • Google Analytics (Not included, cuz doc)

Doc Ref:

- Fetch segment required key from config
- Create Analytics Manager for segment

doc: https://segment.com/docs/connections/sources/catalog/libraries/mobile/kotlin-android/

fixes: LEARNER-9827
- If firebase config Analytics source is segment and Braze is enabled than add Braze as destination in segment.

doc: https://github.com/braze-inc/braze-segment-kotlin

fixes: LEARNER-9827
@farhan-arshad-dev farhan-arshad-dev linked an issue Feb 9, 2024 that may be closed by this pull request
Copy link
Contributor

@omerhabib26 omerhabib26 left a comment

Choose a reason for hiding this comment

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

Please add default dict for Analytics

core/build.gradle Outdated Show resolved Hide resolved
Copy link
Contributor

@k1rill k1rill left a comment

Choose a reason for hiding this comment

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

Good code, just a very minor favor

Copy link
Contributor

@k1rill k1rill left a comment

Choose a reason for hiding this comment

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

Approved from my side

Copy link
Contributor

@HamzaIsrar12 HamzaIsrar12 left a comment

Choose a reason for hiding this comment

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

LGTM 🏎️

@farhan-arshad-dev farhan-arshad-dev merged commit f4731df into openedx:develop Feb 14, 2024
3 checks passed
@farhan-arshad-dev farhan-arshad-dev deleted the farhan_ar/LEARNER-9827 branch February 14, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Android] Segment SDK Implementation
5 participants