IAP Service force the screen orientation to be `LandscapeLeft`
Describe the bug & problem
A clear and concise description of what the problem is.
After enable IAP, the game is forced to be LandscapeLeft, which is very weird. My game was always in portrait mode, but now Huawei IAP force it to be LandscapeLeft. Could I just override it to Portrait in the code? Or Huawei IAP has some feature requires Landscape mode?
Thank you for reporting this issue/advice.
We will get back to you as soon as possible.
Would you like to star our plugin to support us? :sparkles:
Hello, @lxwgogogo.
Did you try it on your own scene or on our demo scene ?
If you tried our deme scene, yes, it forcing it to be LandScapeLeft because scene is landscape. But if you have created your own scene, LandScapeLeft should not force it to be.
I'm on my own scene. I defined a HuaweiIAPManager in one of my script on a gameobject in my scene.
You don't supposed to face any problem, if you did like that. IAP works potrait mode, normally.
Can you give screen record when you are faced this problem ?
Thank you for using our repository! We're glad we could help solve your issue. If you found our repository helpful, please consider giving us a star ⭐ on GitHub: https://github.com/EvilMindDevs/hms-unity-plugin
Your support helps us continue to improve our repository and provide valuable resources for others.