diff --git a/app/src/main/java/com/etesync/syncadapter/App.kt b/app/src/main/java/com/etesync/syncadapter/App.kt index 6b2967cd..7492c8f7 100644 --- a/app/src/main/java/com/etesync/syncadapter/App.kt +++ b/app/src/main/java/com/etesync/syncadapter/App.kt @@ -122,6 +122,9 @@ class App : Application() { // The following line triggers the initialization of ACRA ACRA.init(this) + val pm = base.packageManager + var installedFrom = pm.getInstallerPackageName(BuildConfig.APPLICATION_ID) + ACRA.getErrorReporter().putCustomData("installedFrom", installedFrom); } private fun loadLanguage() {