Vungle showing landscape video ads in a portrait mode app in Android

In Android, Vungle keeps showing landscape video ads while the app runs in Potrait mode. This happens only in Android and not in iOS. This is causing difficulties for the user having to rotate the phone to see the ad and then again rotate it to switch back to potrait mode.

Has anyone seen this?

Yup - fine imho.

In native.showAlert() I alert the user that they “may need to rotate the screen”.

Job done!

Thanks, but that’s not an user friendly approach. I am opening a bug.

I specifically set the param isAutoRotation = true and that seems to fix this issue for Android devices.  I think the docs say it defaults to true but doesn’t seem to be the case for Android.

Code to show an ad looks like this:

local params = {isAnimated = true, isAutoRotation = true} ads.show("interstitial",params)

Thanks, that works!  

Yup - fine imho.

In native.showAlert() I alert the user that they “may need to rotate the screen”.

Job done!

Thanks, but that’s not an user friendly approach. I am opening a bug.

I specifically set the param isAutoRotation = true and that seems to fix this issue for Android devices.  I think the docs say it defaults to true but doesn’t seem to be the case for Android.

Code to show an ad looks like this:

local params = {isAnimated = true, isAutoRotation = true} ads.show("interstitial",params)

Thanks, that works!