You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/10/23 17:02:50 UTC

[GitHub] [cordova-plugin-statusbar] kkirby opened a new issue #166: StatusBar.overlaysWebView(true) doesn't work in iOS 13

kkirby opened a new issue #166: StatusBar.overlaysWebView(true) doesn't work in iOS 13
URL: https://github.com/apache/cordova-plugin-statusbar/issues/166
 
 
   # Bug Report
   
   ## Problem
   
   Status bar isn't overlaying WebView when telling the plugin to do so.
   
   ### What is expected to happen?
   
   Status bar should overlay the WebView when asking the plugin to do so
   
   ### What does actually happen?
   
   The status bar does not overlay the WebView
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   1. Create a new project
       - `cordova create ./cordovaTest`
   2. Add plugin
       - `cordova plugin add https://github.com/apache/cordova-plugin-statusbar.git`
   3. Modify `config.xml` to add this inside `<widget/>`:
       - `<preference name="StatusBarOverlaysWebView" value="true" />`
   4. Add iOS platform:
       - `cordova platform add ios`
   5. Prepare iOS platform:
       - `cordova prepare ios`
   6. Open Xcode project
       - `open ./platforms/ios/HelloCordova.xcworkspace`
   7. Run in an iPhone 8 simulator
   8. Observe that the status bar is not overlaying the WebView. Status bar is white
   9. Open a web inspector from safari for the WebView
   10. Run:
       - `StatusBar.overlaysWebView(true)`
   11. Observe status bar still doesn't overlay webview
   12. Run:
       - `StatusBar.hide()`
   13. Observe the status bar is hidden (so the library works)
   
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   - *Device:* iPhone 8, and iPhone 8 Simulator
   - *Platform:* iOS
   
   ### Version information
   
   - *Device:* iPhone 8 (simulator)
   - *Device OS:& iOS 13 (and 13.1)
   - *Cordova:* 9.0.0 (cordova-lib@9.0.1)
        - *Platform:* ios 5.0.1
   - *Plugin:* 2.4.3 (also tried the repo)
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org