AdDebugScreen
fun AdDebugScreen(catalog: AdDebugCatalog = AdDebugCatalog.Test, manager: AdManager = LocalAdManager.current, onBack: () -> Unit = {}, modifier: Modifier = Modifier)(source)
On-device debug console for admob-cmp.
Drives every ad format against catalog, previews native ad layouts without a live fill, exposes SDK/adapter/consent diagnostics, and streams AdManager.events into a persistent console — provided AdDebugRecorder.install was called.
This screen applies no build-type gating. A library cannot know a consumer's build type; gate the navigation entry point yourself. Ad safety is enforced a layer down by dev.avinya.ads.AdPlacement.strictTestMode, which throws on a production ad unit id.
Parameters
catalog
placements to drive. Defaults to Google test ad units.
manager
defaults to LocalAdManager; pass explicitly if the CompositionLocal is not provided, or every request will fail with sdkNotReady from NoOpAdManager.