File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
test-app/src/main/java/com/optimizely/ab/android/test_app Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ protected void onHandleIntent(Intent intent) {
33
33
// Get Optimizely from the Intent that started this Service
34
34
final OptimizelyManager optimizelyManager = ((MyApplication ) getApplication ()).getOptimizelyManager ();
35
35
AndroidOptimizely optimizely = optimizelyManager .getOptimizely ();
36
- // optimizely.track("goal_3", "user_1");
36
+ // TODO Setup an experiment here and test with Espresso. Maybe show a notification?
37
37
}
38
38
}
39
39
}
Original file line number Diff line number Diff line change @@ -35,9 +35,7 @@ protected void onCreate(Bundle savedInstanceState) {
35
35
final MyApplication myApplication = (MyApplication ) getApplication ();
36
36
final OptimizelyManager optimizelyManager = myApplication .getOptimizelyManager ();
37
37
AndroidOptimizely optimizely = optimizelyManager .getOptimizely ();
38
-
39
- // track conversion event
40
- optimizely .track ("experiment_1" , myApplication .getAnonUserId ());
38
+ // TODO Setup an Optimizely experiment here and test with Espresso.
41
39
42
40
FragmentManager fragmentManager = getSupportFragmentManager ();
43
41
FragmentTransaction fragmentTransaction = fragmentManager .beginTransaction ();
@@ -58,7 +56,7 @@ public void onStart() {
58
56
super .onStart ();
59
57
final OptimizelyManager optimizelyManager = ((MyApplication ) getActivity ().getApplication ()).getOptimizelyManager ();
60
58
AndroidOptimizely optimizely = optimizelyManager .getOptimizely ();
61
- // optimizely.track("goal_2", "user_1");
59
+ // TODO Setup an Optimizely experiment here and test with Espresso.
62
60
}
63
61
}
64
62
}
You can’t perform that action at this time.
0 commit comments