Merge pull request 'fix(android): remove WorkManager auto-initializer (lintVitalRelease)' (#61) from dev into main
This commit was merged in pull request #61.
This commit is contained in:
@@ -50,5 +50,21 @@
|
|||||||
android:name="android.support.FILE_PROVIDER_PATHS"
|
android:name="android.support.FILE_PROVIDER_PATHS"
|
||||||
android:resource="@xml/file_paths" />
|
android:resource="@xml/file_paths" />
|
||||||
</provider>
|
</provider>
|
||||||
|
|
||||||
|
<!-- On-demand WorkManager initialization: MinstrelApplication
|
||||||
|
implements Configuration.Provider and supplies the
|
||||||
|
HiltWorkerFactory. Remove the default startup-driven
|
||||||
|
initializer so WorkManager picks up our config instead of
|
||||||
|
auto-initializing with the wrong factory. lintVitalRelease
|
||||||
|
flags this as a fatal error if left in place. -->
|
||||||
|
<provider
|
||||||
|
android:name="androidx.startup.InitializationProvider"
|
||||||
|
android:authorities="${applicationId}.androidx-startup"
|
||||||
|
tools:node="merge">
|
||||||
|
<meta-data
|
||||||
|
android:name="androidx.work.WorkManagerInitializer"
|
||||||
|
android:value="androidx.startup"
|
||||||
|
tools:node="remove" />
|
||||||
|
</provider>
|
||||||
</application>
|
</application>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|||||||
Reference in New Issue
Block a user