apache / apache/cordova-plugin-screen-orientation
Scaling issue when loaded in landscape, locks to portrait.
- Dominant language
- JavaScript
- Stars
- 219
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Description
I was manually forcing portrait in AndroidManifest, which led to random scaling problems 20% of the time on load.
Turns out this plugin creates same exact issue, so I'm assuming it's something beyond it's control within the android cordova viewport initialization or something?
For details: https://github.com/apache/cordova-android/issues/1500
Contributor guide
Research direction
Start with the plugin's Android orientation initialization and the AndroidManifest setting described in the report, then compare the behavior with cordova-android issue 1500. Reproduce the landscape-load case and determine whether the plugin or Cordova viewport initialization is responsible; done means orientation changes no longer cause intermittent scaling problems.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100