File tree Expand file tree Collapse file tree 2 files changed +19
-16
lines changed
Expand file tree Collapse file tree 2 files changed +19
-16
lines changed Original file line number Diff line number Diff line change 44 -->
55
66<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
7+ xmlns : tools =" http://schemas.android.com/tools"
78 android : installLocation =" internalOnly" >
89
9- <application android : name =" .App" />
10+ <application android : name =" .App" >
11+
12+ <!-- Required for Hilt/WorkManager integration. See
13+ - https://developer.android.com/develop/background-work/background-tasks/persistent/configuration/custom-configuration#remove-default
14+ - https://developer.android.com/training/dependency-injection/hilt-jetpack#workmanager
15+ However, we must not disable AndroidX startup completely, as it's needed by other libraries like okhttp. -->
16+ <provider
17+ android : name =" androidx.startup.InitializationProvider"
18+ android : authorities =" ${applicationId}.androidx-startup"
19+ android : exported =" false"
20+ tools : node =" merge" >
21+ <meta-data
22+ android : name =" androidx.work.WorkManagerInitializer"
23+ android : value =" androidx.startup"
24+ tools : node =" remove" />
25+ </provider >
26+
27+ </application >
1028
1129</manifest >
Original file line number Diff line number Diff line change 5151 tools : ignore =" UnusedAttribute"
5252 android : supportsRtl =" true" >
5353
54- <!-- Required for Hilt/WorkManager integration. See
55- - https://developer.android.com/develop/background-work/background-tasks/persistent/configuration/custom-configuration#remove-default
56- - https://developer.android.com/training/dependency-injection/hilt-jetpack#workmanager
57- However, we must not disable AndroidX startup completely, as it's needed by other libraries like okhttp. -->
58- <provider
59- android : name =" androidx.startup.InitializationProvider"
60- android : authorities =" ${applicationId}.androidx-startup"
61- android : exported =" false"
62- tools : node =" merge" >
63- <meta-data
64- android : name =" androidx.work.WorkManagerInitializer"
65- android : value =" androidx.startup"
66- tools : node =" remove" />
67- </provider >
68-
6954 <!-- Remove the node added by AppAuth (remove only from net.openid.appauth library, not from our flavor manifest files) -->
7055 <activity android : name =" net.openid.appauth.RedirectUriReceiverActivity"
7156 tools : node =" remove" tools : selector =" net.openid.appauth" />
You can’t perform that action at this time.
0 commit comments