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) {
3333 // Get Optimizely from the Intent that started this Service
3434 final OptimizelyManager optimizelyManager = ((MyApplication ) getApplication ()).getOptimizelyManager ();
3535 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?
3737 }
3838 }
3939}
Original file line number Diff line number Diff line change @@ -35,9 +35,7 @@ protected void onCreate(Bundle savedInstanceState) {
3535 final MyApplication myApplication = (MyApplication ) getApplication ();
3636 final OptimizelyManager optimizelyManager = myApplication .getOptimizelyManager ();
3737 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.
4139
4240 FragmentManager fragmentManager = getSupportFragmentManager ();
4341 FragmentTransaction fragmentTransaction = fragmentManager .beginTransaction ();
@@ -58,7 +56,7 @@ public void onStart() {
5856 super .onStart ();
5957 final OptimizelyManager optimizelyManager = ((MyApplication ) getActivity ().getApplication ()).getOptimizelyManager ();
6058 AndroidOptimizely optimizely = optimizelyManager .getOptimizely ();
61- // optimizely.track("goal_2", "user_1");
59+ // TODO Setup an Optimizely experiment here and test with Espresso.
6260 }
6361 }
6462}
You can’t perform that action at this time.
0 commit comments