package com.growthbeat.growthbeatsample;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;

import com.growthbeat.Growthbeat;
import com.growthpush.model.Environment;

public class MainActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		Growthbeat.getInstance().initialize(this.getApplicationContext(), "dy6VlRMnN3juhW9L", "NuvkVhQtRDG2nrNeDzHXzZO5c6j0Xu5t");
		Growthbeat.getInstance().initializeGrowthPush(BuildConfig.DEBUG ? Environment.development : Environment.production, "955057365401");
		Growthbeat.getInstance().initializeGrowthReplay();
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		getMenuInflater().inflate(R.menu.main, menu);
		return true;
	}

}

@@ -151,16 +151,50 @@
 thbeat;%0A
+import com.growthpush.GrowthPush;%0A
 import c
@@ -731,16 +731,109 @@
 play();%0A
+%09%09GrowthPush.getInstance().setDeviceTags();%0A%09%09GrowthPush.getInstance().trackEvent(%22Launch%22);%0A
 %09%7D%0A%0A%09@Ov

Add Growth Push tracking code to sample