mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Only enable crashlytics with locally built SDK
This commit is contained in:
parent
afbc5a7ec5
commit
c29e97a8a7
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…
Add table
Reference in a new issue