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

Closed
lxwgogogo opened this issue Jul 17, 2024 · 5 comments
Closed

IAP Service force the screen orientation to be LandscapeLeft #505

lxwgogogo opened this issue Jul 17, 2024 · 5 comments
Assignees
Labels
details requested Details requested for the issue timeout and closed A month passed after the solution was given.

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
@Aziz-T Aziz-T added timeout and closed A month passed after the solution was given. and removed investigating We are investigating the current problem new labels Nov 4, 2024
@Aziz-T Aziz-T closed this as completed Nov 4, 2024
Copy link

github-actions bot commented Nov 4, 2024

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.

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 timeout and closed A month passed after the solution was given.
Projects
None yet
Development

No branches or pull requests

3 participants