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()
|
||||
}
|
||||
|
||||
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()) {
|
||||
|
|
Loading…
Reference in a new issue