Merge pull request #662 from lecramfriedrich/master
add smartbanner landscape for iOS
This commit is contained in:
commit
ba79167c7f
|
@ -142,6 +142,8 @@ class RNFirebaseAdMobUtils {
|
||||||
return AdSize.LEADERBOARD;
|
return AdSize.LEADERBOARD;
|
||||||
case "SMART_BANNER":
|
case "SMART_BANNER":
|
||||||
return AdSize.SMART_BANNER;
|
return AdSize.SMART_BANNER;
|
||||||
|
case "SMART_BANNER_LANDSCAPE":
|
||||||
|
return AdSize.SMART_BANNER;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -210,6 +210,8 @@ RCT_EXPORT_METHOD(clearInterstitial:
|
||||||
return kGADAdSizeLeaderboard;
|
return kGADAdSizeLeaderboard;
|
||||||
} else if ([value isEqualToString:@"SMART_BANNER"]) {
|
} else if ([value isEqualToString:@"SMART_BANNER"]) {
|
||||||
return kGADAdSizeSmartBannerPortrait;
|
return kGADAdSizeSmartBannerPortrait;
|
||||||
|
} else if ([value isEqualToString:@"SMART_BANNER_LANDSCAPE"]) {
|
||||||
|
return kGADAdSizeSmartBannerLandscape;
|
||||||
} else {
|
} else {
|
||||||
return kGADAdSizeBanner;
|
return kGADAdSizeBanner;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue