diff --git a/api/index.php b/api/index.php index dbdacf9..120d4a7 100644 --- a/api/index.php +++ b/api/index.php @@ -5691,7 +5691,7 @@ function reportError(): void { // Exception: install/update errors are ALWAYS reported regardless of version, // because a device that is failing to install the update is by definition on // an old version — suppressing the issue is the opposite of useful. - $installErrorTypes = ['install_download_failed', 'install_failure', 'install_packager_exception']; + $installErrorTypes = ['install_download_failed', 'install_failure', 'install-failure', 'install_packager_exception']; $bypassVersionGuard = in_array($type, $installErrorTypes, true) || ($context['version_guard_bypass'] ?? false); if (!$bypassVersionGuard && !_isLatestVersion($version)) { diff --git a/evershelf-kiosk/app/src/main/kotlin/it/dadaloop/evershelf/kiosk/SetupActivity.kt b/evershelf-kiosk/app/src/main/kotlin/it/dadaloop/evershelf/kiosk/SetupActivity.kt index 0f06b2a..3e19b9c 100644 --- a/evershelf-kiosk/app/src/main/kotlin/it/dadaloop/evershelf/kiosk/SetupActivity.kt +++ b/evershelf-kiosk/app/src/main/kotlin/it/dadaloop/evershelf/kiosk/SetupActivity.kt @@ -868,7 +868,7 @@ class SetupActivity : AppCompatActivity() { val msg = intent?.getStringExtra(android.content.pm.PackageInstaller.EXTRA_STATUS_MESSAGE) ?: "status=$status" setGatewayUI("❌", getString(R.string.install_error_install), msg, 0xFFf87171.toInt()) ErrorReporter.reportMessage( - "install-failure", + "install_failure", "PackageInstaller failed: status=$status msg=$msg", mapOf("pkg" to targetPkg, "status" to status, "msg" to msg) )