Created
January 17, 2017 11:17
-
-
Save karthiks/077264607692fe6793d7277d0fdb7389 to your computer and use it in GitHub Desktop.
CleverTap-Validator-Issue-1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyApp extends Application { | |
@Override | |
public void onCreate() { | |
ActivityLifecycleCallback.register(this); //Must be called before super.onCreate() | |
super.onCreate(); | |
if (BuildConfig.DEBUG) { | |
// During development, we set the SDK to debug mode, | |
// in order to log warnings or other important messages to Android logging system. | |
CleverTapAPI.setDebugLevel(1); // optional | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment