Added crashlytics for ReleaseAppBundle flavor
This commit is contained in:
parent
f0d4b8c34e
commit
336f006a2e
3 changed files with 15 additions and 10 deletions
|
@ -155,6 +155,18 @@ android {
|
||||||
releaseAppBundle {
|
releaseAppBundle {
|
||||||
initWith release
|
initWith release
|
||||||
ndk.debugSymbolLevel = 'FULL'
|
ndk.debugSymbolLevel = 'FULL'
|
||||||
|
|
||||||
|
if (crashlyticsEnabled()) {
|
||||||
|
resValue "bool", "crashlytics_enabled", "true"
|
||||||
|
|
||||||
|
firebaseCrashlytics {
|
||||||
|
nativeSymbolUploadEnabled true
|
||||||
|
strippedNativeLibsDir file(LinphoneSdkBuildDir + '/libs/').toString()
|
||||||
|
unstrippedNativeLibsDir file(LinphoneSdkBuildDir + '/libs-debug/').toString()
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
resValue "bool", "crashlytics_enabled", "false"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
debug {
|
debug {
|
||||||
|
@ -293,5 +305,8 @@ if (crashlyticsEnabled()) {
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
assembleDebug.finalizedBy(uploadCrashlyticsSymbolFileDebug)
|
assembleDebug.finalizedBy(uploadCrashlyticsSymbolFileDebug)
|
||||||
packageDebugBundle.finalizedBy(uploadCrashlyticsSymbolFileDebug)
|
packageDebugBundle.finalizedBy(uploadCrashlyticsSymbolFileDebug)
|
||||||
|
|
||||||
|
assembleReleaseAppBundle.finalizedBy(uploadCrashlyticsSymbolFileReleaseAppBundle)
|
||||||
|
packageReleaseAppBundleBundle.finalizedBy(uploadCrashlyticsSymbolFileReleaseAppBundle)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,7 +46,6 @@ import org.linphone.R
|
||||||
import org.linphone.activities.GenericActivity
|
import org.linphone.activities.GenericActivity
|
||||||
import org.linphone.activities.SnackBarActivity
|
import org.linphone.activities.SnackBarActivity
|
||||||
import org.linphone.activities.assistant.AssistantActivity
|
import org.linphone.activities.assistant.AssistantActivity
|
||||||
import org.linphone.activities.call.CallActivity
|
|
||||||
import org.linphone.activities.main.viewmodels.CallOverlayViewModel
|
import org.linphone.activities.main.viewmodels.CallOverlayViewModel
|
||||||
import org.linphone.activities.main.viewmodels.SharedMainViewModel
|
import org.linphone.activities.main.viewmodels.SharedMainViewModel
|
||||||
import org.linphone.activities.navigateToDialer
|
import org.linphone.activities.navigateToDialer
|
||||||
|
@ -110,12 +109,6 @@ class MainActivity : GenericActivity(), SnackBarActivity, NavController.OnDestin
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
binding.setGoBackToCallClickListener {
|
|
||||||
val intent = Intent(this, CallActivity::class.java)
|
|
||||||
intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT)
|
|
||||||
startActivity(intent)
|
|
||||||
}
|
|
||||||
|
|
||||||
if (coreContext.core.accountList.isEmpty()) {
|
if (coreContext.core.accountList.isEmpty()) {
|
||||||
if (corePreferences.firstStart) {
|
if (corePreferences.firstStart) {
|
||||||
corePreferences.firstStart = false
|
corePreferences.firstStart = false
|
||||||
|
|
|
@ -4,9 +4,6 @@
|
||||||
|
|
||||||
<data>
|
<data>
|
||||||
<import type="android.view.View" />
|
<import type="android.view.View" />
|
||||||
<variable
|
|
||||||
name="goBackToCallClickListener"
|
|
||||||
type="android.view.View.OnClickListener" />
|
|
||||||
<variable
|
<variable
|
||||||
name="viewModel"
|
name="viewModel"
|
||||||
type="org.linphone.activities.main.viewmodels.SharedMainViewModel" />
|
type="org.linphone.activities.main.viewmodels.SharedMainViewModel" />
|
||||||
|
|
Loading…
Reference in a new issue