Skip to content

Commit 8a6a13d

Browse files
dylancomDominik Hinc
andcommitted
fix(iOS): wrong property being extracted in native ad (split from #782)
Co-authored-by: Dominik Hinc <[email protected]>
1 parent 574c479 commit 8a6a13d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios/RNGoogleMobileAds/RNGoogleMobileAdsNativeModule.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ - (instancetype)initWithNativeModule:(RNGoogleMobileAdsNativeModule *)nativeModu
162162
}
163163
}
164164
GADNativeAdViewAdOptions *adViewOptions = [[GADNativeAdViewAdOptions alloc] init];
165-
if (requestOptions[@"aspectRatio"]) {
166-
switch ([requestOptions[@"aspectRatio"] intValue]) {
165+
if (requestOptions[@"adChoicesPlacement"]) {
166+
switch ([requestOptions[@"adChoicesPlacement"] intValue]) {
167167
case 0:
168168
adViewOptions.preferredAdChoicesPosition = GADAdChoicesPositionTopLeftCorner;
169169
break;

0 commit comments

Comments
 (0)