react-native-admob-native-ads

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

MIT License

Downloads
4.2K
Stars
402
Committers
23

Bot releases are hidden (Show)

react-native-admob-native-ads - v0.7.2 Latest Release

Published by ammarahm-ed about 2 months ago

What's New

  • Update Google Mobile Ads Sdk to latest version
  • Added openAdInspector and openDebugMenu options
  • Added support for swipeGestureDirection
  • Updated example to react native v0.75.2
  • Fixed issue with ad impressions not getting recorded if view is not interacted with
  • Fixed error "invalid template id: -1" on requesting ads on android

What's Changed

New Contributors

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

react-native-admob-native-ads - v0.6.6

Published by ammarahm-ed over 1 year 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
react-native-admob-native-ads - v0.6.3

Published by ammarahm-ed over 1 year ago

  • Update expo plugin
  • Add expo example to repo
react-native-admob-native-ads - v0.6.1

Published by ammarahm-ed over 1 year 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

react-native-admob-native-ads - v0.6.0

Published by ammarahm-ed over 2 years 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

react-native-admob-native-ads - v0.5.0

Published by ammarahm-ed about 3 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

react-native-admob-native-ads - v0.4.1

Published by ammarahm-ed over 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.
react-native-admob-native-ads - 0.4.0

Published by ammarahm-ed over 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.

react-native-admob-native-ads - v0.3.8

Published by ammarahm-ed almost 4 years ago

Fixed

  • Fixed ref warning in StarRatingView
react-native-admob-native-ads - v0.3.7

Published by ammarahm-ed almost 4 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!

react-native-admob-native-ads - v0.3.6

Published by ammarahm-ed about 4 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.
react-native-admob-native-ads - v0.3.5

Published by ammarahm-ed over 4 years ago

What's New

  1. Fixed typings #50 Thanks @mink-ang
react-native-admob-native-ads - v0.3.4

Published by ammarahm-ed over 4 years ago

react-native-admob-native-ads - v0.3.3

Published by ammarahm-ed over 4 years ago

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
react-native-admob-native-ads - v0.3.1

Published by ammarahm-ed over 4 years ago

What's New

  1. Disable testDevices prop
react-native-admob-native-ads - v.0.3.0

Published by ammarahm-ed over 4 years ago

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.
react-native-admob-native-ads - v0.2.9

Published by ammarahm-ed over 4 years ago

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
react-native-admob-native-ads - v0.2.8

Published by ammarahm-ed over 4 years ago

What's New

  1. Fix same ref used for all NativeAdViews #23
react-native-admob-native-ads - v0.2.7

Published by ammarahm-ed over 4 years ago

What's New

  1. Send height and width of image to RN
  2. Send aspectRatio of MediaView to RN, so you can determine correct width and height for each ad.
  3. Minor performance improvement for Android, still not perfect
  4. Some minor cleanup
react-native-admob-native-ads - v0.2.6

Published by ammarahm-ed over 4 years ago

remove some unused files on android and rename xml files to prevent conflicts

Package Rankings
Top 6.46% on Npmjs.org
Related Projects