Add app ID to debug info (#1847)

This will avoid the need to know which forks has which version numbers
and avoid confusion in support.
This commit is contained in:
MajorTanya
2025-03-10 03:43:25 +01:00
committed by GitHub
parent 22b5fb58ff
commit eddf07f9ac
2 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ class CrashLogUtil(
fun getDebugInfo(): String {
return """
App ID: ${BuildConfig.APPLICATION_ID}
App version: ${BuildConfig.VERSION_NAME} (${BuildConfig.COMMIT_SHA}, ${BuildConfig.VERSION_CODE}, ${BuildConfig.BUILD_TIME})
Android version: ${Build.VERSION.RELEASE} (SDK ${Build.VERSION.SDK_INT}; build ${Build.DISPLAY})
Device brand: ${Build.BRAND}