Releases: ammarahm-ed/react-native-admob-native-ads
v0.6.6
v0.6.3
- Update expo plugin
- Add expo example to repo
v0.6.1
What's changed
- Update to the latest version of Admob for iOS by @Ali72 in #309
- Restore prop type to CallToActionView. by @wemsaji in #316
- Expo support by @cbridges1 in #323
- Remove references to unused Facebook classes by @cbridges1 in #332
New Contributors
- @wemsaji made their first contribution in #316
- @cbridges1 made their first contribution in #323
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
- Ad preloading 🎉 by @Ali72 and @ha-younes72 in #216
- Fix typings by @bobbyjcolley in #225
- Fix using outdated variable names by @rogerkerse in #270
- Fix iOS build on Hermes by @hoangdaicntt in #266
- Remove warning 'EventEmitter.removeListener('change', ...)' by @psyrenpark in #267
- Improved documentation @hjick
- Fixed compleSdkVersion error on build
- Fixed plugin with id "maven" not found
- Upgrade Google Mobile Ads to 20.x (latest)
- Fixed inconsistent icon loading in IconView #241
New Contributors
- @Ali72 made their first contribution in #216
- @bobbyjcolley made their first contribution in #225
- @hjick made their first contribution in #255
- @rogerkerse made their first contribution in #270
- @hoangdaicntt made their first contribution in #266
- @psyrenpark made their first contribution in #267
- @ha-younes72 made their first contribution in #216
Full Changelog: v0.5.0...v0.6.0
v0.5.0
- 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
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.