There's this new getLargeAnchoredAdaptiveBannerAdSize method on Android. Can we also somehow provide it via the AdSize? Ideally like this:
@Composable actual fun rememberBanner(adUnitId: String?): MutableState<BannerAdHandler> {
val width = LocalWindowInfo.current.containerSize.width
val adSize = AdSize.getLargeAnchoredAdaptiveBannerAdSize(width = width)
return rememberBannerAd(
adUnitId = adUnitId ?: AdUnitId.BANNER_DEFAULT,
adSize = adSize,
)
}
There's this new
getLargeAnchoredAdaptiveBannerAdSizemethod on Android. Can we also somehow provide it via theAdSize? Ideally like this: