Created
April 21, 2015 12:51
-
-
Save anonymous/3e684066f7de99475833 to your computer and use it in GitHub Desktop.
application
This file contains 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 void onCreate() { | |
super.onCreate(); | |
mContext = getApplicationContext(); | |
if (!BuildConfig.DEBUG) { | |
Fabric.with(this, new Crashlytics()); | |
} | |
FacebookSdk.sdkInitialize(mContext); | |
NewRelic.withApplicationToken("my_token").start(this); | |
// (...) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment