mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
add smartbanner landscape for iOS
This commit is contained in:
@@ -142,6 +142,8 @@ class RNFirebaseAdMobUtils {
|
||||
return AdSize.LEADERBOARD;
|
||||
case "SMART_BANNER":
|
||||
return AdSize.SMART_BANNER;
|
||||
case "SMART_BANNER_LANDSCAPE":
|
||||
return AdSize.SMART_BANNER;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user