AncientBeast icon indicating copy to clipboard operation
AncientBeast copied to clipboard

Landscape orientation for android fix

Open pranshugupta01 opened this issue 7 months ago • 8 comments

This fixes issue #2711

pranshugupta01 avatar Apr 26 '25 20:04 pranshugupta01

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
ancientbeast ✅ Ready (Inspect) Visit Preview Apr 26, 2025 8:38pm

vercel[bot] avatar Apr 26 '25 20:04 vercel[bot]

Hey @DreadKnight , this is fix for android landscape orientation , on ios i am facing issue related to fullscreen api

pranshugupta01 avatar Apr 26 '25 20:04 pranshugupta01

@pranshugupta01 Um, as I was saying, that issue is not about fullscreen mode...

DreadKnight avatar Apr 26 '25 20:04 DreadKnight

@pranshugupta01 Um, as I was saying, that issue is not about fullscreen mode...

No in this i have implemented landscape mode , am i missing something?? @DreadKnight

pranshugupta01 avatar Apr 26 '25 20:04 pranshugupta01

@pranshugupta01 Tested it on Android (Samsung S21) and it doesn't work. Plus most code there is clearly related to fullscreen mode 🐻

DreadKnight avatar Apr 26 '25 20:04 DreadKnight

@pranshugupta01 Tested it on Android (Samsung S21) and it doesn't work. Plus most code there is clearly related to fullscreen mode 🐻

sorry i forgot to take the latest pull , it is working fine for me now (tested in google pixel 7) , after clicking on fullscreen button , the games orients to landscape

pranshugupta01 avatar Apr 26 '25 20:04 pranshugupta01

@DreadKnight sorry but are you talking about the behaviour like the game itself starts in landscape mode?

pranshugupta01 avatar Apr 26 '25 20:04 pranshugupta01

@DreadKnight sorry but are you talking about the behaviour like the game itself starts in landscape mode?

Bingo! In fullscreen it's landscape mode locked already anyway.

DreadKnight avatar Apr 26 '25 20:04 DreadKnight