Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(android): potentially improves mediation performance for banners #527

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

birdofpreyru
Copy link
Contributor

Description

A little refactoring of the banner initialization code for Android, motivated by AdMob docs for mediation.

Related issues

Fixes #506

Release Summary

Potentially improves mediation performance for banners on Android.

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

I ran the example app after update, it works fine. The change is also quite trivial.


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 Jan 20, 2024

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

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

Documentation is deployed and generated using docs.page.

Copy link

codecov bot commented Jan 20, 2024

Codecov Report

Merging #527 (d8fa631) into main (8fcee30) will not change coverage.
Report is 3 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #527   +/-   ##
=======================================
  Coverage   43.66%   43.66%           
=======================================
  Files          29       29           
  Lines         536      536           
  Branches      147      147           
=======================================
  Hits          234      234           
  Misses        302      302           

@mikehardy
Copy link
Collaborator

@birdofpreyru ! Sorry for the delay on this and anything else you've posted, haven't had any time lately. Will spin through them shortly and collaborate + work to get these merged as promised. Thanks for your patience

Copy link
Collaborator

@mikehardy mikehardy left a comment

Choose a reason for hiding this comment

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

Sorry this took so long to review, sincere apologies
Code looks fine

@mikehardy mikehardy merged commit 32f550a into invertase:main Feb 19, 2024
12 checks passed
github-actions bot pushed a commit that referenced this pull request Feb 19, 2024
## [12.11.0](v12.10.0...v12.11.0) (2024-02-19)

### Features

* **android:** potentially improves mediation performance for banners ([#527](#527)) ([32f550a](32f550a))

### Bug Fixes

* **consent:** the package returns the wrong value for consent for 'Create a personalized content profile' purpose ([7aef863](7aef863))
@mikehardy
Copy link
Collaborator

🎉 This PR is included in version 12.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Star-dev325 added a commit to Star-dev325/react-native-google-mobile-ads that referenced this pull request Jun 7, 2024
## [12.11.0](invertase/react-native-google-mobile-ads@v12.10.0...v12.11.0) (2024-02-19)

### Features

* **android:** potentially improves mediation performance for banners ([#527](invertase/react-native-google-mobile-ads#527)) ([32f550a](invertase/react-native-google-mobile-ads@32f550a))

### Bug Fixes

* **consent:** the package returns the wrong value for consent for 'Create a personalized content profile' purpose ([7aef863](invertase/react-native-google-mobile-ads@7aef863))
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.

[🐛] Android: Improve ad object initialization
2 participants