Skip to content

Conversation

steadev
Copy link
Contributor

@steadev steadev commented Aug 21, 2025

Description

The NativeView was previously using the banner prop type (RNGoogleMobileAdsBannerViewProps) in initWithFrame.
While this is currently identical to the nativead prop and causes no functional issues, it could lead to problems in the future if the two props diverge.

This change updates the prop type to ensure consistency and prevent potential issues down the line.

Related issues

Release Summary

Updated NativeView to use the correct native view prop type.

Checklist

  • I read the Contributor Guide
    and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
  • My change includes tests;
    • e2e tests added or updated in __tests__e2e__
    • jest tests added or updated in __tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

Test Plan


Think react-native-google-mobile-ads is great? Please consider supporting the project with any of the below:

  • 👉 Star this repo on GitHub ⭐️
  • 👉 Follow Invertase on Twitter

Copy link

docs-page bot commented Aug 21, 2025

To view this pull requests documentation preview, visit the following URL:

docs.page/invertase/react-native-google-mobile-ads~790

Documentation is deployed and generated using docs.page.

@CLAassistant
Copy link

CLAassistant commented Aug 21, 2025

CLA assistant check
All committers have signed the CLA.

@dylancom dylancom requested a review from wjaykim August 21, 2025 06:13
Copy link
Collaborator

@wjaykim wjaykim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@dylancom dylancom merged commit 17adfa8 into invertase:main Aug 21, 2025
2 checks passed
@mikehardy
Copy link
Collaborator

🎉 This PR is included in version 15.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants