From b81528b4dff17724ef4c8751da77d5a8c9924a86 Mon Sep 17 00:00:00 2001 From: ekoby <7406535+ekoby@users.noreply.github.com> Date: Fri, 8 Jan 2021 18:51:26 -0500 Subject: [PATCH] Feedback app version (#120) * add app info to feedback * add app, app version to feedback email --- ziti-android/src/main/java/org/openziti/android/Ziti.kt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ziti-android/src/main/java/org/openziti/android/Ziti.kt b/ziti-android/src/main/java/org/openziti/android/Ziti.kt index f13b05e8..93f8e0a8 100644 --- a/ziti-android/src/main/java/org/openziti/android/Ziti.kt +++ b/ziti-android/src/main/java/org/openziti/android/Ziti.kt @@ -189,10 +189,12 @@ object Ziti: CoroutineScope, Logged by ZitiLog() { } val bodyString = """ - |${Build.MANUFACTURER}: ${Build.MODEL} + |Device: ${Build.MODEL} (${Build.MANUFACTURER}) |Android Version: ${Build.VERSION.RELEASE} - |Android-SDK: ${Build.VERSION.SDK_INT} - |Ziti Version: "${BuildConfig.ZITI_VERSION}(${Version.revision})" + |Android-SDK: ${Build.VERSION.SDK_INT} + |Ziti Version: ${BuildConfig.ZITI_VERSION}(${Version.revision}) + |App: ${app.packageName} + |App Version: ${app.packageManager.getPackageInfo(app.packageName, 0).versionName} | |Enrollments: |${ids}