Releases: ammarahm-ed/react-native-admob-native-ads
Releases · ammarahm-ed/react-native-admob-native-ads
0.4.0
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.
MediaView
is renamed toNativeMediaView
- Ads are not loaded automatically. You need to use
ref
to load ads. Check docs for details. refreshInterval
&delayAdLoading
props have been removed- You need to use
buttonAndroidStyle
to style theCallToActionView
on Android
Head over to Migrating Guide to see what you need to change.
v0.3.8
Fixed
- Fixed ref warning in StarRatingView
v0.3.7
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
This release mostly fixes rendering problems on Android and iOS and there are some breaking changes.
What's Fixed
- Wrap CallToActionView in GestureHandlerRootView @mrousavy
- Fix NPM dependencies by using peerDependencies, now you have to manually add all the dependancies of the library @mrousavy Fixed #55
- Use a partial implementation for ImageProps. @Nox04
- Fix rendering of multiple ads in a FlatList. #51
- Try to reload ad when it fails to load after the specified refreshInterval
- Fix CallToActionView assigned on AdvertiserView on Android. #57
- Hide the Ad when it is loading by default so it does not show empty components.
- Refactor and cleanup the code.
What's New
- Rewrite the Root
NativeAdView
component as a Class Component - Use callable module on Android to receive
onUnifiedNativeAdLoaded
event so ad renders in its correct view using a unique ID. - Rewrite the example to demonstrate Banner Ad, Video/Image Ad & Ads in a List properly.
Breaking Changes
- You need to add
react-native-star-rating
as a direct dependency of the main project from now onwards.
v0.3.5
v0.3.4
update version
v0.3.3
What's New
- Update example to RN 0.63
- Fix Android issue where ad did not load when there is no icon
- Hide the IconView if there is no icon with the ad
v0.3.1
What's New
- Disable testDevices prop
v.0.3.0
What's Fixed
- Fix an issue where Ad on android would not render properly without adding a backgroundColor to the firstChild of
NativeAdView
. fixes #36 - Fix memory leak due to callbacks not cleared on android fixes #45
- Fix facebook mediated ads not rendering on Android fixes #34 (partially)
- Fix an issue where first time ad was not loaded but loaded on refresh
What's New
- Introduce a new
AdManager
module to handle Ad Request Configurations more easily and once on App start. fixes #44 - Add support for setting
maxAdContentRating
,tagForUnderAgeConsent
&tagForChildDirectedTreatment
via theAdManager
. - Add support to set European User Consent fixes #24
- Add support to change the AdChoices placement to any 4 corners of the ad fixes #37
- Add
allowFontScaling
forCallToAction
View fixes #43
What's Changed
- Use AdManager to set testDevices from now onwards.