diff --git a/app/build.gradle b/app/build.gradle
index 03021e67c..2801a29da 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -234,6 +234,7 @@ dependencies {
def work_version = '2.7.1'
implementation "androidx.work:work-runtime-ktx:$work_version"
androidTestImplementation "androidx.work:work-testing:$work_version"
+ implementation "androidx.hilt:hilt-work:1.0.0"
// Shimmer effect
implementation 'com.facebook.shimmer:shimmer:0.5.0'
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 640450635..19fff39b7 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -6,22 +6,22 @@
-
+
+ android:theme="@style/Theme.KURing"
+ android:usesCleartextTraffic="true"
+ tools:replace="icon, label">
-
+ android:theme="@style/OpenSourceItemTheme" />
+ android:exported="true" />
+ android:theme="@style/EditSubscriptionTheme" />
-
+
-
-
+
+
@@ -118,8 +123,7 @@
+ android:resource="@drawable/ic_status_bar" />
diff --git a/app/src/main/java/com/ku_stacks/ku_ring/KuRingApplication.kt b/app/src/main/java/com/ku_stacks/ku_ring/KuRingApplication.kt
index 50b3c8693..e54540d8f 100644
--- a/app/src/main/java/com/ku_stacks/ku_ring/KuRingApplication.kt
+++ b/app/src/main/java/com/ku_stacks/ku_ring/KuRingApplication.kt
@@ -1,7 +1,20 @@
package com.ku_stacks.ku_ring
import android.app.Application
+import android.util.Log
+import androidx.hilt.work.HiltWorkerFactory
+import androidx.work.Configuration
import dagger.hilt.android.HiltAndroidApp
+import javax.inject.Inject
@HiltAndroidApp
-class KuRingApplication : Application()
\ No newline at end of file
+class KuRingApplication : Application(), Configuration.Provider {
+
+ @Inject
+ lateinit var workerFactory: HiltWorkerFactory
+
+ override fun getWorkManagerConfiguration() = Configuration.Builder()
+ .setMinimumLoggingLevel(Log.INFO)
+ .setWorkerFactory(workerFactory)
+ .build()
+}
\ No newline at end of file
diff --git a/app/src/main/java/com/ku_stacks/ku_ring/work/ReEngagementNotificationWork.kt b/app/src/main/java/com/ku_stacks/ku_ring/work/ReEngagementNotificationWork.kt
index 321f6ae42..4e9bfc8c6 100644
--- a/app/src/main/java/com/ku_stacks/ku_ring/work/ReEngagementNotificationWork.kt
+++ b/app/src/main/java/com/ku_stacks/ku_ring/work/ReEngagementNotificationWork.kt
@@ -7,18 +7,21 @@ import android.content.Context
import android.graphics.BitmapFactory
import android.media.RingtoneManager
import androidx.core.app.NotificationCompat
+import androidx.hilt.work.HiltWorker
import androidx.work.Worker
import androidx.work.WorkerParameters
import com.ku_stacks.ku_ring.MyFireBaseMessagingService
import com.ku_stacks.ku_ring.R
import com.ku_stacks.ku_ring.navigator.KuringNavigator
-import javax.inject.Inject
+import dagger.assisted.Assisted
+import dagger.assisted.AssistedInject
-class ReEngagementNotificationWork(appContext: Context, workerParams: WorkerParameters) :
- Worker(appContext, workerParams) {
-
- @Inject
- lateinit var navigator: KuringNavigator
+@HiltWorker
+class ReEngagementNotificationWork @AssistedInject constructor(
+ @Assisted appContext: Context,
+ @Assisted workerParams: WorkerParameters,
+ private val navigator: KuringNavigator
+) : Worker(appContext, workerParams) {
override fun doWork(): Result {
val notification = createNotification(applicationContext)