iOS standardI AP interface orientation problem - is this a known issue?

Hi there,

My team is working on a port of our game for IOS. We are very close to meeting our gold for submission, but one bug that appears unsolvable is that though our game is in Landscape, when a user taps to purchase IAP the Apple specific IAP overlay loads in portrait by default.

Our developer can’t find any information pertaining to this but he did discover several other released landscape games that share this issue.

we are developing in Unity 2019.4.20f1 and using version 2.0.3 purchase manager.

Any help is very appreciated.

This is an example of the issue in a released game which is why I am wondering if it is a known problem or if there is a fix available.

Is this an expected behaviour or is there a known bug with our development environment (Unity).

Thanks in advance for any advice, I can upload screenshots of our unreleased game but it is basically the same issue as shown above.

1 Like

@MiriamJ Please test with In App Purchasing 4.1.3 available in Package Manager

Hi Jeff, we did the upgrade and shipped on testflight and the problem still occurs.

Any updates on this? I’m having the same issue on IOS (Android works as intended).

Upon further investigation, this is on the Apple side and is by design. They changed the behavior for iOS 14+, and there is no flag that we could pass to enforce landscape vs portrait.

Thanks very much @JeffDUnity3D how did you find this out - out of curiosity? I looked everywhere and couldn’t find any feedback regarding the change. I even asked on the Apple developer forum and was ignored.

Via our internal conversations with Apple. They are aware of the issue, but the bug is not public yet.

Hey @JeffDUnity3D just curious if there was any resolution to this bug, it looks like it’s still happening on my end.

On Unity 2021.3.14f1 & Unity IAP 4.5.2

P.S. Sorry to necro an old thread

@JeffDUnity3D Still seeing this. @Meatloaf4 Was wondering if you found a workaround?

Hit this issue over the weekend, game is set to left or right landscape - on iOS the IAP is always portrait. (Have only tested in Sandbox via TestFlight so far) Android builds are properly showing the native IAP modal in landscape.

I’m using Unity 2020.3.45f1 and IAP 4.6.0 - I work primarily on a PC running Windows 11 build and deploy for Android there, but build for iOS from macbook. Which is currently running Xcode 14.2, I haven’t dug in too deep there, but was wondering if maybe that has an exposed value I can set when building / deploying from Xcode?

Thanks guys!

EDIT: Sorry again to necro, just tagging an active Unity person from the IAP forum @Arnaud_Gorain

Bump, still curious about this.

@Arnaud_Gorain @ap-unity

Hi @unitynoob24 and @Meatloaf4 ,
Note: Jeff is no longer with us since Sept 2022

This a limitation from iOS itself, you can double-check if they updated it but I doubt it since you are encountering the issue with 14.2

I’m seeing this issue on Android as well…
I’m using the latest and greatest version as of August 2023

I’m still facing this issue on Android in 2024 …
I’m using the latest verion 4.10