File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 android : name =" com.google.android.gms.fonts.API_KEY"
4141 android : value =" ${FONTS_API_KEY}" />
4242
43+ <!-- The Google Mobile Ads SDK lives in the on-demand :feature:ads split. AGP promotes its
44+ auto-init MobileAdsInitProvider into the BASE manifest (tagged splitName="ads"), but some
45+ devices still instantiate it at process start when the ads split isn't installed, hitting
46+ a ClassNotFoundException and force-closing on launch. We initialize the SDK explicitly
47+ (AdsFeatureImpl.initialize), so strip the auto-init provider from the base manifest. -->
48+ <provider
49+ android : name =" com.google.android.gms.ads.MobileAdsInitProvider"
50+ android : authorities =" ${applicationId}.mobileadsinitprovider"
51+ tools : node =" remove"
52+ tools : ignore =" MissingClass" />
53+
4354 <!-- AdMob APPLICATION_ID meta-data now lives in the :feature:ads module manifest. -->
4455
4556 <activity
You can’t perform that action at this time.
0 commit comments