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.