ionic-team / ionic-framework

A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
https://ionicframework.com
MIT License
51.15k stars 13.5k forks source link

Rotate only status bar when app orientation set portrait on iOS #13243

Closed ckris closed 6 years ago

ckris commented 7 years ago

Ionic version: [ ] 2.x [x] 3.x [ ] 4.x

I'm submitting a ... [x] bug report [ ] feature request

I remove all node_modules and created new app after that get package.json and package-lock.json and install it but this won't fix status bar problem.

cordova plugin list

com-sarriaroman-photoviewer 1.1.10 "PhotoViewer"
cordova-plugin-device 1.1.6 "Device"
cordova-plugin-firebase 0.1.24 "Google Firebase Plugin"
cordova-plugin-ionic-webview 1.1.16 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.3 "StatusBar"
cordova-plugin-whitelist 1.3.2 "Whitelist"
es6-promise-plugin 4.1.0 "Promise"
ionic-plugin-keyboard 2.2.1 "Keyboard"

Current behavior: Status bar rotate when app is set portrait mode.

Expected behavior: Do not rotate status bar

Steps to reproduce: After load app in portrait when you rotate landscape orientation app is stay portrait but status bar is rotate to landscape tested on iOS 11

Related code:

untitled

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.15.1
    ionic (Ionic CLI) : 3.15.1

global packages:

    cordova (Cordova CLI) : 7.1.0 

local packages:

    @ionic/app-scripts : 3.0.1
    Cordova Platforms  : android 6.2.3 ios 4.5.2
    Ionic Framework    : ionic-angular 3.7.1

System:

    Node  : v6.11.4
    npm   : 5.5.1 
    OS    : macOS High Sierra
    Xcode : Xcode 9.0.1 Build version 9A1004 

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : legacy
kensodemann commented 7 years ago

Hello! Thank you for opening an issue with us! Would you be able to provide a sample application via GitHub that demonstrates the issue you are having? Thanks for using Ionic!

ckris commented 7 years ago

Hello I prepared a simple app for testing this bug.

Deployment info iPhone deployment-info

Deployment info iPad

deployment-info-ipad

Simple app simple.zip

ColDrekken commented 6 years ago

Hello, is there a solution?

best

brynner commented 6 years ago

Some update?

RobinGiel commented 6 years ago

I'm also having this same problem :-( if somebody as any kind of solution to this problem, that would be awesome, otherwise I'm actively looking for ways to fix this myself ''work around'

RobinGiel commented 6 years ago

https://github.com/onmyway133/notes/issues/2 Just remove this in plist:

UIMainStoryboardFile
<string>Main</string>

go to the link for more info

ionitron-bot[bot] commented 6 years ago

This issue has been automatically identified as an Ionic 3 issue. We recently moved Ionic 3 to its own repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.

If I've made a mistake, and if this issue is still relevant to Ionic 4, please let the Ionic Framework team know!

Thank you for using Ionic!

ionitron-bot[bot] commented 6 years ago

Issue moved to: https://github.com/ionic-team/ionic-v3/issues/314