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.
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.
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