Giter Site home page Giter Site logo

Comments (5)

jorgeyanesdiez avatar jorgeyanesdiez commented on July 20, 2024

Same on my surface pro 3, running Windows 10. Happens with both the appx and the .exe installer versions. It doesn't rotate the screen straight away, it does it when the loading animation (the circle made up of dots) shows up on screen.

from core.

jorgeyanesdiez avatar jorgeyanesdiez commented on July 20, 2024

I found this, could be related PhoneGap 90º

It could be caused by this:

cordova.exec(null, null, "CDVOrientation", "screenOrientation", [orientationMask, orientation]);

However, this seems to be a more appropriate reason/fix:
https://stackoverflow.com/questions/23673892/how-to-prevent-a-phonegap-application-to-switch-to-landscape-view

The reason Phonegap ignored the in the config.xml file is because my app was in debug mode. once I created a release version it stopped from going to landscape.

In this case it's the opposite, it's going portrait...

from core.

RichardAH avatar RichardAH commented on July 20, 2024

Can you confirm if this is still happening on current version?

from core.

jorgeyanesdiez avatar jorgeyanesdiez commented on July 20, 2024

I just installed the appx (2.5.8) and yes, it does.

Rotated 90º

Browser version is fine though

Browser

from core.

jorgeyanesdiez avatar jorgeyanesdiez commented on July 20, 2024

I looked back at my comment from Feb 16, 2018 and I ended up here. https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-screen-orientation/
I think it must be something related to that. The orientation is probably being fixed by config or code somewhere.

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.