Skip to content

Instantly share code, notes, and snippets.

@karthiks
Created January 17, 2017 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karthiks/077264607692fe6793d7277d0fdb7389 to your computer and use it in GitHub Desktop.
Save karthiks/077264607692fe6793d7277d0fdb7389 to your computer and use it in GitHub Desktop.
CleverTap-Validator-Issue-1
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