diff --git a/android/src/main/java/io/invertase/firebase/admob/RNFirebaseAdMobUtils.java b/android/src/main/java/io/invertase/firebase/admob/RNFirebaseAdMobUtils.java index 9cce8a0a..ec7b0ff1 100644 --- a/android/src/main/java/io/invertase/firebase/admob/RNFirebaseAdMobUtils.java +++ b/android/src/main/java/io/invertase/firebase/admob/RNFirebaseAdMobUtils.java @@ -142,6 +142,8 @@ class RNFirebaseAdMobUtils { return AdSize.LEADERBOARD; case "SMART_BANNER": return AdSize.SMART_BANNER; + case "SMART_BANNER_LANDSCAPE": + return AdSize.SMART_BANNER; } } } diff --git a/ios/RNFirebase/admob/RNFirebaseAdMob.m b/ios/RNFirebase/admob/RNFirebaseAdMob.m index f0bc4487..dbee154c 100644 --- a/ios/RNFirebase/admob/RNFirebaseAdMob.m +++ b/ios/RNFirebase/admob/RNFirebaseAdMob.m @@ -210,6 +210,8 @@ RCT_EXPORT_METHOD(clearInterstitial: return kGADAdSizeLeaderboard; } else if ([value isEqualToString:@"SMART_BANNER"]) { return kGADAdSizeSmartBannerPortrait; + } else if ([value isEqualToString:@"SMART_BANNER_LANDSCAPE"]) { + return kGADAdSizeSmartBannerLandscape; } else { return kGADAdSizeBanner; }