mirror of
https://github.com/KitsunePie/AppErrorsTracking.git
synced 2025-09-01 08:45:16 +08:00
feat: add module app version in shared errors info data
This commit is contained in:
@@ -24,6 +24,7 @@ package com.fankes.apperrorstracking.bean
|
||||
import android.app.ApplicationErrorReport
|
||||
import android.content.Context
|
||||
import android.os.Build
|
||||
import com.fankes.apperrorstracking.const.ModuleVersion
|
||||
import com.fankes.apperrorstracking.locale.locale
|
||||
import com.fankes.apperrorstracking.utils.factory.appCpuAbiOf
|
||||
import com.fankes.apperrorstracking.utils.factory.appVersionCodeOf
|
||||
@@ -176,7 +177,7 @@ data class AppErrorsInfoBean(
|
||||
*/
|
||||
val stackOutputShareContent
|
||||
get() = """
|
||||
Generated by AppErrorsTracking
|
||||
Generated by AppErrorsTracking $ModuleVersion
|
||||
Project URL: https://github.com/KitsunePie/AppErrorsTracking
|
||||
===============
|
||||
""".trimIndent() + "\n$environmentInfo"
|
||||
@@ -188,7 +189,7 @@ data class AppErrorsInfoBean(
|
||||
val stackOutputFileContent
|
||||
get() = """
|
||||
================================================================
|
||||
Generated by AppErrorsTracking
|
||||
Generated by AppErrorsTracking $ModuleVersion
|
||||
Project URL: https://github.com/KitsunePie/AppErrorsTracking
|
||||
================================================================
|
||||
""".trimIndent() + "\n$environmentInfo"
|
||||
|
Reference in New Issue
Block a user