AppLovin/AppLovin-MAX-React-Native

adInfo.nativeAd.mediaContentAspectRatio is missing

SergiOnGit opened this issue · 3 comments

MAX Module Version

6.0.1

React Native Version

0.72.6

Device/Platform Info

Android

Current Behavior

mediaContentAspectRatio key is no longer presented in adInfo.nativeAd object. Noticed after upgrading from 5.7.2 to 6.0.1

Expected Behavior

mediaContentAspectRatio key should be presented in adInfo.nativeAd

How to Reproduce

Check adInfo object

Additional Info

image

mediaContentAspectRatio is optional in the native ads. Your ad network doesn't provide it to a particular ad if it is not presented in the nativeAd object.

If it isn't presented, would be great if you send default ratio value. But I guess this is not bug, right?

This is not a bug. We don't want to provide the default aspect ratio. Some network documents a recommended aspect ratio, so you should provide the default for your ad networks.