We're updating the issue view to help you get more done. 

Android - Integrate firebase remote configuration sdk for A/B test

Description

This is the implementation story in the follow up of following spike

https://openedx.atlassian.net/browse/LEARNER-7386

 

Acceptance Criteria:

  • Follow these instructions to validate that A/B testing is properly configured.

  • Follow these instructions to ensure that remote config is properly configured in the android app.

  • Trigger the experiment code whenever the user opens the app, check the remote config parameter named "aa_experiment" that can find it here.

  • Emit an event with different properties depending on the value of the remote parameter and verify the analytics.

 

1 2 3 4 5 6 7 8 String aaExperimentGroup = mFirebaseRemoteConfig.getString("aa_experiment"); Analytics.with(context).track("Mobile Experiment Evaluated", new Properties().putValue("experiment", "aa_experiment")); if (aaExperimentGroup == "Control") { Analytics.with(context).track("Mobile Experiment Viewed", new Properties().putValue("experiment", "aa_experiment").putValue("group", "Control")); } else if (aaExperimentGroup == "Variant A") { Analytics.with(context).track("Mobile Experiment Viewed", new Properties().putValue("experiment", "aa_experiment").putValue("group", "Variant A")); // if this were a real test, you would modify the behavior of the App here }

 

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Status

Assignee

Farhan Arshad

Reporter

Farhan Khan

Labels

None

Reach

None

Impact

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Stakeholders

None

Story Points

2

Priority

Unset