Skip to content

[Feature Request] Support the max height option for inline adaptive banners #541

Closed as not planned
@markwilcox

Description

@markwilcox

What happened?

Inline adaptive banners are designed for scrolling content. If that content is a feed with fairly consistent cell sizes then the larger sizes of banner available can be terrible for the UX.

The native SDKs support a method to get an inline adaptive banner with a width and max height (rather than just a width) but we can't access this through the React Native SDK.

The standard banners don't work so well in a feed in practice because they always take up their fixed height while loading and the API doesn't provide any feedback on loading unless it fails.

It would be ideal if the BannerAd component could take an optional max height that if supplied for an inline adaptive banner would cause the alternative native SDK method to be used and restrict the height. 🙏

Platforms

Android and iOS

React Native Info

All recent versions

Are your using Typescript?

  • My project is using Typescript

package.json

n/a

app.json

n/a

ios/Podfile

No response

android/build.gradle

No response

android/app/build.gradle

No response

android/settings.gradle

No response

AndroidManifest.xml

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions