fix: notification worker reliability + version bump to 1.1.0
- Bump android versionCode=2 versionName=1.1.0 - NotificationWorker: use UPDATE policy to reschedule after login - Immediate notification check on login via LaunchedEffect - Added logging for debugging notification delivery - DB already has test notification inserted - Fixed admin app version form (POST redirect)
This commit is contained in:
@@ -469,7 +469,17 @@ class ApiController
|
||||
public function appVersion(): void
|
||||
{
|
||||
$db = \ServerManager\Core\Database::getInstance();
|
||||
$configs = $db->fetchAll('SELECT * FROM app_config');
|
||||
|
||||
try {
|
||||
$configs = $db->fetchAll('SELECT * FROM app_config');
|
||||
} catch (\Throwable $e) {
|
||||
$this->view->json([
|
||||
'success' => false,
|
||||
'error' => 'Database error',
|
||||
], 500);
|
||||
return;
|
||||
}
|
||||
|
||||
$config = [];
|
||||
foreach ($configs as $row) {
|
||||
$config[$row['key']] = $row['value'];
|
||||
|
||||
Reference in New Issue
Block a user