Skip to content

Conversation

@demon-sword
Copy link

Description

This PR migrates key Android components to React Native’s New Architecture (TurboModules/Fabric) and updates documentation to reflect the current migration status.

  • Implemented native specs and refactored modules for New Architecture compatibility.
  • Confirmed Banner Ads are using a Fabric Native Component via codegen.
  • Migrated Mobile Ads SDK methods and Full Screen Ad modules (App Open, Interstitial, Rewarded, Rewarded Interstitial) to the New Architecture. fv
  • Updated the Android rows in the README’s “Migrating to the New Architecture Status” table.

Related issues

  • N/A

Release Summary

Android migration to New Architecture for core ads modules; documentation updated to reflect current status.

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

  • Verified that Android Banner component renders via Fabric using the codegen native component (GoogleMobileAdsBannerViewNativeComponent) and manager (ReactNativeGoogleMobileAdsBannerAdViewManager).
  • Validated Full Screen Ads lifecycle under the new TurboModule implementations:
    • App Open, Interstitial, Rewarded, Rewarded Interstitial load/show/dismiss flows.
  • Ensured README status accurately reflects current migration state.

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

@docs-page
Copy link

docs-page bot commented Oct 31, 2025

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

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

Documentation is deployed and generated using docs.page.

@demon-sword demon-sword marked this pull request as ready for review October 31, 2025 19:25
@dylancom dylancom requested a review from mikehardy October 31, 2025 20:03
@codecov
Copy link

codecov bot commented Nov 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 35.57%. Comparing base (a34c7ba) to head (055a5a7).
⚠️ Report is 209 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #819      +/-   ##
==========================================
- Coverage   43.72%   35.57%   -8.15%     
==========================================
  Files          30       36       +6     
  Lines         549      658     +109     
  Branches      151      167      +16     
==========================================
- Hits          240      234       -6     
- Misses        309      424     +115     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dylancom
Copy link
Collaborator

dylancom commented Nov 1, 2025

Thank you for your contribution! Great to see someone working on new arch support for Android. Would be great if some more experienced Android developers can help test / review this @mikehardy @DoctorJohn @birdofpreyru @wjaykim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants