appToolkitFoundationModules

fun appToolkitFoundationModules(hostBuildConfig: AppToolkitHostBuildConfig, defaultAdsEnabled: Boolean = true): List<Module>(source)

Assembles shared providers, networking, and ads, consent, GMS, and update integrations for the host graph. Preference bindings come once from :library:core:datastore, and shared ad reporting is supplied here rather than required from each host.

Parameters

defaultAdsEnabled

Fresh-install ads default; saved preferences take priority.