React Native Admob Native Ads Versions Save

A simple and robust library for creating & displaying Admob Native Advanced Ads in your React Native App using Native Views.

v0.6.6

10 months ago
  • Fix a crash in lists when scrolling on android
  • Added .subscribe function for android to listen to ad events via AdManager
  • Fixed ad targeting types on android & ios

v0.6.3

10 months ago
  • Update expo plugin
  • Add expo example to repo

v0.6.1

10 months ago

What's changed

New Contributors

Full Changelog: https://github.com/ammarahm-ed/react-native-admob-native-ads/compare/v0.6.0...v0.6.1

v0.6.0

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/ammarahm-ed/react-native-admob-native-ads/compare/v0.5.0...v0.6.0

v0.5.0

2 years ago
  • The library now utilises the latest google ads sdk on Android and iOS @wjaykim
  • Fix ad load called multiple times on android & iOS causing ads to flicker
  • Fix some ads not loading if multiple ads are on the screen
  • Fix re-register direct event as bubbling event
  • Fix a rare exception on android @wjaykim
  • Update example app to RN 0.64.2 @wjaykim
  • Make facebook mediation optional on iOS @wjaykim
  • Add trackingAuthorized bool to requestConfig @wjaykim
  • Initialize GAD in setRequestConfig on iOS
  • Change setRequestConfiguration to async

This release includes breaking changes.

Update your Google Mobile Ads Library in Podfile.

Add these to your Podfile.

pod 'Google-Mobile-Ads-SDK'
pod 'GoogleMobileAdsMediationFacebook'

Then run pod update & pod install. If you are upgrading, then run, pod install --repo-update

v0.4.1

3 years ago

Fixed

  1. Downgraded the version of Goodle Mobile Ads to 19.8.0 on android and 7.6x on iOS to restore compatibility with other admob libraries.
  2. Fixed #135

Added

  1. Add ability to change StarRatingView icon colors.

v0.4.0

3 years ago

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

3 years ago

Fixed

  • Fixed ref warning in StarRatingView

v0.3.7

3 years ago

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!

0.3.6

3 years ago

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.