Only enable crashlytics with locally built SDK

This commit is contained in:
Sylvain Berfini 2021-02-25 09:53:54 +01:00
parent cc5e3dd164
commit 251057b293

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()) {