package com.yeokm1.nussocprintandroid.core;

import android.app.Activity;
import android.app.Application;

import com.flurry.android.FlurryAgent;

/**
 * Created by yeokm1 on 21/12/2014.
 */
public class FlurryFunctions {
    public static String FLURRY_APIKEY = "N23T9M69R2JYGDV7Q5GP";

    public static void activityOnStart(Activity activity){
        if(HelperFunctions.isOS10AndAbove()) {
            FlurryAgent.onStartSession(activity, FlurryFunctions.FLURRY_APIKEY);
        }
    }

    public static void activityOnStop(Activity activity){
        if(HelperFunctions.isOS10AndAbove()) {
            FlurryAgent.onEndSession(activity);
        }
    }

    public static void initFlurry(Application app){

        if(HelperFunctions.isOS10AndAbove()) {
            // configure Flurry
            FlurryAgent.setLogEnabled(true);

            // init Flurry
            FlurryAgent.init(app, FLURRY_APIKEY);
        }

    }

}

@@ -829,11 +829,12 @@
 led(
-tru
+fals
 e);%0A

disable flurry log