Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IAP Service force the screen orientation to be LandscapeLeft #505

Open
lxwgogogo opened this issue Jul 17, 2024 · 4 comments
Open

IAP Service force the screen orientation to be LandscapeLeft #505

lxwgogogo opened this issue Jul 17, 2024 · 4 comments
Assignees
Labels
details requested Details requested for the issue investigating We are investigating the current problem new

Comments

@lxwgogogo
Copy link

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?

@github-actions github-actions bot added the new label Jul 17, 2024
Copy link

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? ✨

@Andronovo-bit
Copy link
Collaborator

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.

@lxwgogogo
Copy link
Author

I'm on my own scene. I defined a HuaweiIAPManager in one of my script on a gameobject in my scene.

@Andronovo-bit
Copy link
Collaborator

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 ?

@Andronovo-bit Andronovo-bit added investigating We are investigating the current problem details requested Details requested for the issue labels Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
details requested Details requested for the issue investigating We are investigating the current problem new
Projects
None yet
Development

No branches or pull requests

2 participants