diff --git a/presentation/src/main/java/com/moez/QKSMS/common/util/NotificationManagerImpl.kt b/presentation/src/main/java/com/moez/QKSMS/common/util/NotificationManagerImpl.kt
index cf21c4f8..d5e68541 100644
--- a/presentation/src/main/java/com/moez/QKSMS/common/util/NotificationManagerImpl.kt
+++ b/presentation/src/main/java/com/moez/QKSMS/common/util/NotificationManagerImpl.kt
@@ -91,9 +91,11 @@ class NotificationManagerImpl @Inject constructor(
createNotificationChannel()
}
+ // Required for running workers on Android 12 and older
override fun getForegroundNotificationForWorkersOnOlderAndroids() =
NotificationCompat.Builder(context, DEFAULT_CHANNEL_ID)
- .setContentTitle(context.getString(R.string.notification_foreground_worker_text))
+ .setContentTitle(context.getString(R.string.notification_foreground_worker_title))
+ .setContentText(context.getString(R.string.notification_foreground_worker_text))
.setShowWhen(false)
.setWhen(System.currentTimeMillis())
.setSmallIcon(R.drawable.ic_notification)
diff --git a/presentation/src/main/res/values/strings.xml b/presentation/src/main/res/values/strings.xml
index 554c5576..e765b0f4 100644
--- a/presentation/src/main/res/values/strings.xml
+++ b/presentation/src/main/res/values/strings.xml
@@ -504,7 +504,8 @@
Message not sent
The message to %s failed to send
- Receiving message
+ Receiving message
+ On Android 12 and older, a notification is required for the background work that enables receiving messages.
Resend