File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
android/src/main/java/io/invertase/googlemobileads Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -145,8 +145,8 @@ class ReactNativeGoogleMobileAdsNativeModule(
145145 val mediaAspectRatio = if (requestOptions.hasKey(" aspectRatio" )) {
146146 when (requestOptions.getInt(" aspectRatio" )) {
147147 1 -> MediaAspectRatio .ANY
148- 2 -> MediaAspectRatio .PORTRAIT
149- 3 -> MediaAspectRatio .LANDSCAPE
148+ 2 -> MediaAspectRatio .LANDSCAPE
149+ 3 -> MediaAspectRatio .PORTRAIT
150150 4 -> MediaAspectRatio .SQUARE
151151 else -> MediaAspectRatio .UNKNOWN
152152 }
@@ -155,8 +155,8 @@ class ReactNativeGoogleMobileAdsNativeModule(
155155 }
156156 val adChoicesPlacement = if (requestOptions.hasKey(" adChoicesPlacement" )) {
157157 when (requestOptions.getInt(" adChoicesPlacement" )) {
158- 0 -> NativeAdOptions .ADCHOICES_TOP_RIGHT
159- 1 -> NativeAdOptions .ADCHOICES_TOP_LEFT
158+ 0 -> NativeAdOptions .ADCHOICES_TOP_LEFT
159+ 1 -> NativeAdOptions .ADCHOICES_TOP_RIGHT
160160 2 -> NativeAdOptions .ADCHOICES_BOTTOM_RIGHT
161161 3 -> NativeAdOptions .ADCHOICES_BOTTOM_LEFT
162162 else -> NativeAdOptions .ADCHOICES_TOP_RIGHT
You can’t perform that action at this time.
0 commit comments