Skip to content

Releases: ammarahm-ed/react-native-admob-native-ads

0.4.0

03 Mar 19:03
Compare
Choose a tag to compare

This is a huge update from previous release and a lot of things have been added:

  • Support Google Ads >=8.0
    Added full support for latest Google Ads Library
  • Ads mediation (Facebook Mediation Especially)
    I have added full support for mediation from facebook ads since its a very large ad network. All possible only due to help from @yaroslavnikiforov providing me with the necessary facebook ad accounts for testing
  • Ad targeting
    Full support to show targeted ads. Check the docs for details
  • Video Controls and Events
    Basic video controls and events for play, pause, end etc are added too
  • Rewrite documentation and publish on GH-Pages
    The most frustrating job to do but always worth it. Check the new docs and help me improve it, I will accept pull requests
  • Improve CallToActionView
    Previously CallToActionView was not clickable properly. Now we support proper clicking and interaction.
  • Many under the hood bug fixes and improvements.
    Several things have been changed under the hood which will result in better ads and low memory usage.

Breaking Changes

With so many things changing there are definately some breaking changes but nothing huge.

  1. MediaView is renamed to NativeMediaView
  2. Ads are not loaded automatically. You need to use ref to load ads. Check docs for details.
  3. refreshInterval & delayAdLoading props have been removed
  4. You need to use buttonAndroidStyle to style the CallToActionView on Android

Head over to Migrating Guide to see what you need to change.

v0.3.8

17 Nov 19:30
Compare
Choose a tag to compare

Fixed

  • Fixed ref warning in StarRatingView

v0.3.7

17 Nov 19:03
eeec5cc
Compare
Choose a tag to compare

Added

  • A custom StarView for our library by @mrousavy

Fixed

  • Fixed incorrect child view mounting on Android
  • Fixed rendering ads in a FlatList.
  • Fixed CallToActionView not clickable
  • Fixed new ref created on each rerender
  • Fixed typings for AdManager @mrousavy
  • Fixed state updating when NativeAdView is not mounted @jaeyoonlim

Changed

  • Let ads update to any compatible version (19.+) on Android. @halaei
  • Rewrite the example to demonstrate Banner Ad, Video/Image Ad & Ads in a List properly.
  • Rename MediaView to RNGADMediaView to avoid conflicts with other libraries
  • CallToAction now uses a simple Text Component to register clicks.

Removed

  • react-native-star-rating dependancy has been removed
  • react-native-gesture-handler dependancy has been removed.
  • delayAdLoading prop has been removed @ha-younes72

Thanks to everyone who took time to report bugs, fix issues and send pull requests. I had to push this release to address some important issues before releasing 0.4.x which will include ad-preloading and some other amazing features. While it is in the works, enjoy this release!

v0.3.6

21 Aug 15:52
Compare
Choose a tag to compare

This release mostly fixes rendering problems on Android and iOS and there are some breaking changes.

What's Fixed

  1. Wrap CallToActionView in GestureHandlerRootView @mrousavy
  2. Fix NPM dependencies by using peerDependencies, now you have to manually add all the dependancies of the library @mrousavy Fixed #55
  3. Use a partial implementation for ImageProps. @Nox04
  4. Fix rendering of multiple ads in a FlatList. #51
  5. Try to reload ad when it fails to load after the specified refreshInterval
  6. Fix CallToActionView assigned on AdvertiserView on Android. #57
  7. Hide the Ad when it is loading by default so it does not show empty components.
  8. Refactor and cleanup the code.

What's New

  1. Rewrite the Root NativeAdView component as a Class Component
  2. Use callable module on Android to receive onUnifiedNativeAdLoaded event so ad renders in its correct view using a unique ID.
  3. Rewrite the example to demonstrate Banner Ad, Video/Image Ad & Ads in a List properly.

Breaking Changes

  1. You need to add react-native-star-rating as a direct dependency of the main project from now onwards.

v0.3.5

13 Jul 03:51
ee29415
Compare
Choose a tag to compare

What's New

  1. Fixed typings #50 Thanks @mink-ang

v0.3.4

11 Jul 07:01
Compare
Choose a tag to compare
update version

v0.3.3

09 Jul 08:21
Compare
Choose a tag to compare

What's New

  1. Update example to RN 0.63
  2. Fix Android issue where ad did not load when there is no icon
  3. Hide the IconView if there is no icon with the ad

v0.3.1

06 Jul 14:02
Compare
Choose a tag to compare

What's New

  1. Disable testDevices prop

v.0.3.0

06 Jul 12:05
Compare
Choose a tag to compare

What's Fixed

  1. Fix an issue where Ad on android would not render properly without adding a backgroundColor to the firstChild of NativeAdView. fixes #36
  2. Fix memory leak due to callbacks not cleared on android fixes #45
  3. Fix facebook mediated ads not rendering on Android fixes #34 (partially)
  4. Fix an issue where first time ad was not loaded but loaded on refresh

What's New

  1. Introduce a new AdManager module to handle Ad Request Configurations more easily and once on App start. fixes #44
  2. Add support for setting maxAdContentRating, tagForUnderAgeConsent & tagForChildDirectedTreatment via the AdManager.
  3. Add support to set European User Consent fixes #24
  4. Add support to change the AdChoices placement to any 4 corners of the ad fixes #37
  5. Add allowFontScaling for CallToAction View fixes #43

What's Changed

  1. Use AdManager to set testDevices from now onwards.

v0.2.9

03 May 15:10
Compare
Choose a tag to compare

What's New

  1. Fix huge performance drop when multiple Ads were rendered in the same screen #16
  2. Fix issue where MediaView was crashing
  3. Remove nesting on Native Android from MediaView
  4. Fix Multiple ads needed to be loaded with a small delay #10
  5. Fix testDevices & refreshInterval prop missing from JS