add smartbanner landscape for iOS
This commit is contained in:
parent
c81a786014
commit
22ace9e3ed
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue