Skip to content

Commit ed2277f

Browse files
committed
fix WorkManagerInitializer
1 parent 54803fe commit ed2277f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,13 @@
6161
android:name="com.hoc.comicapp.initializer.AnalyticsInitializer"
6262
android:value="androidx.startup" />
6363

64+
<!-- If you are using androidx.startup to initialize other components -->
65+
<meta-data
66+
android:name="androidx.work.WorkManagerInitializer"
67+
android:value="androidx.startup"
68+
tools:node="remove" />
6469
</provider>
6570

66-
<provider
67-
android:name="androidx.work.impl.WorkManagerInitializer"
68-
android:authorities="${applicationId}.workmanager-init"
69-
android:exported="false"
70-
tools:node="remove" />
71-
7271
<receiver
7372
android:name=".worker.ComicAppBroadcastReceiver"
7473
android:exported="false" />

0 commit comments

Comments
 (0)