Only enable crashlytics with locally built SDK
This commit is contained in:
parent
cc5e3dd164
commit
251057b293
1 changed files with 4 additions and 2 deletions
|
@ -16,8 +16,10 @@ static def firebaseEnabled() {
|
||||||
return googleFile.exists()
|
return googleFile.exists()
|
||||||
}
|
}
|
||||||
|
|
||||||
static def crashlyticsEnabled() {
|
def crashlyticsEnabled() {
|
||||||
return true
|
File linphoneLibrary = new File(LinphoneSdkBuildDir + '/libs/')
|
||||||
|
File linphoneLibraryDebug = new File(LinphoneSdkBuildDir + '/libs-debug/')
|
||||||
|
return linphoneLibrary.exists() && linphoneLibraryDebug.exists()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (crashlyticsEnabled()) {
|
if (crashlyticsEnabled()) {
|
||||||
|
|
Loading…
Reference in a new issue