Skip to content

Instantly share code, notes, and snippets.

@ivangarzab
Created November 10, 2020 06:11
Show Gist options
  • Save ivangarzab/b41b3967deba619b5e652acf74a84b62 to your computer and use it in GitHub Desktop.
Save ivangarzab/b41b3967deba619b5e652acf74a84b62 to your computer and use it in GitHub Desktop.
dependencies {
// ...
// Declare the dependency for the Firebase Crashlytics NDK library.
// If you previously declared Firebase Crashlytics dependency, replace it.
implementation 'com.google.firebase:firebase-crashlytics-ndk:VERSION_NUMBER'
}
android {
// ...
buildTypes {
release {
// Add this extension
firebaseCrashlytics {
// Enable processing and uploading of native symbols to Crashlytics servers.
// By default, this is disabled to improve build speeds.
// This flag must be enabled to see properly-symbolicated native
// stack traces in the Crashlytics dashboard.
nativeSymbolUploadEnabled true
}
}
debug {
// Adding extension for multiple build types
firebaseCrashlytics {
nativeSymbolUploadEnabled true
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment