Only enable crashlytics with locally built SDK

This commit is contained in:
Sylvain Berfini 2021-02-25 09:53:54 +01:00
parent afbc5a7ec5
commit c29e97a8a7

View file

@ -16,8 +16,10 @@ static def firebaseEnabled() {
return googleFile.exists()
}
static def crashlyticsEnabled() {
return true
def crashlyticsEnabled() {
File linphoneLibrary = new File(LinphoneSdkBuildDir + '/libs/')
File linphoneLibraryDebug = new File(LinphoneSdkBuildDir + '/libs-debug/')
return linphoneLibrary.exists() && linphoneLibraryDebug.exists()
}
if (crashlyticsEnabled()) {