8.4.0 API Changes
As part of 3.0.0 we removed and deprecated some APIs. You can find detailed list of changes bellow:
Bug Fixes
- io-ts library type error throw on install(dependency removed)
Dependencies Removed
Dependency |
New Dependency |
io-ts |
– |
fp-ts |
– |
io-ts-reporters |
– |
APIs removed from 3.0.0 for React-Native
Removed Class |
New Class |
BannerEvents |
LevelPlayBannerListener |
InterstitialEvents |
LevelPlayInterstitialListener |
RewardedVideoEvents |
LevelPlayRewardedVideoListener
LevelPlayRewardedVideoManualListener |
ConsentViewEvents |
ConsentViewListener |
ImpressionDataEvents |
ImpressionDataListener |
InitializationEvents |
InitializationListener |
Removed API |
New API |
BannerEvents.onBannerAdLoaded
BannerEvents.onBannerAdLoadFailed
BannerEvents.onBannerAdClicked
BannerEvents.onBannerAdScreenPresented
BannerEvents.onBannerAdDismissed
BannerEvents.onBannerAdLeftApplication |
setLevelPlayBannerListener: (listener: LevelPlayBannerListener) |
InterstitialEvents.onInterstitialAdReady
InterstitialEvents.onInterstitialAdLoadFailed
InterstitialEvents.onInterstitialAdOpened
InterstitialEvents.onInterstitialAdClosed
InterstitialEvents.onInterstitialAdShowSucceeded
InterstitialEvents.onInterstitialAdShowFailed
InterstitialEvents.onInterstitialAdClicked |
setLevelPlayInterstitialListener: (listener: LevelPlayInterstitialListener) |
RewardedVideoEvents.onRewardedVideoAdOpened
RewardedVideoEvents.onRewardedVideoAdClosed
RewardedVideoEvents.onRewardedVideoAdAvailabilityChanged
RewardedVideoEvents.onRewardedVideoAdStarted
RewardedVideoEvents.onRewardedVideoAdEnded
RewardedVideoEvents.onRewardedVideoAdRewarded
RewardedVideoEvents.onRewardedVideoAdShowFailed
RewardedVideoEvents.onRewardedVideoAdClicked
RewardedVideoEvents.onRewardedVideoAdReady
RewardedVideoEvents.onRewardedVideoAdLoadFailed |
setLevelPlayRewardedVideoListener: (listener: LevelPlayRewardedVideoListener)
setLevelPlayRewardedVideoManualListener: (listener: LevelPlayRewardedVideoManualListener) |
ConsentViewEvents.consentViewDidLoadSuccess
ConsentViewEvents.consentViewDidFailToLoad
ConsentViewEvents.consentViewDidShowSuccess
ConsentViewEvents.consentViewDidFailToShow
ConsentViewEvents.consentViewDidAccept |
setConsentViewListener: (listener: ConsentViewListener) |
ImpressionDataEvents.onImpressionSuccess |
setImpressionDataListener: (listener: ImpressionDataListener) |
InitializationEvents.onInitilizationComplete |
setInitilizationListener: (listener: InitializationListener) |
APIs deprecated from 3.0.0 for React-Native
Deprecated Class |
New Class |
LevelPlayBannerListener |
LevelPlayBannerAdViewListener |
IronSourceBannerOptions |
– |
IronSourceBannerOffsetOption |
– |
IronSourceBannerPositionOption |
– |
IronSourceBannerSizeOption |
– |
IronSourceBannerCustomSize |
– |
Deprecated API |
New API |
setLevelPlayBannerListener: (listener: LevelPlayBannerListener) => void |
LevelPlayBannerAdView |
loadBanner(options: IronSourceBannerOptions): Promise<void> |
LevelPlayBannerAdView |
destroyBanner(): Promise<void> |
LevelPlayBannerAdView |
displayBanner(): Promise<void> |
LevelPlayBannerAdView |
hideBanner(): Promise<void> |
LevelPlayBannerAdView |
isBannerPlacementCapped(placementName: string): Promise<boolean> |
LevelPlayBannerAdView |
getMaximalAdaptiveHeight(width: number): Promise<number> |
LevelPlayBannerAdView |