You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jorge Manrubia (JIRA)" <ji...@apache.org> on 2016/09/21 06:22:20 UTC

[jira] [Commented] (CB-11877) StatusBar plugin not working in iOS 10

    [ https://issues.apache.org/jira/browse/CB-11877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15508906#comment-15508906 ] 

Jorge Manrubia commented on CB-11877:
-------------------------------------

It wasn't related to this plugin. I had to add this to my index.html (there was a JS error in the console about "Refused to load gap://ready because it appears in neither the child-src directive nor the default-src directive of the Content Security Policy."):

    <meta http-equiv="Content-Security-Policy" content="img-src * 'self' data:; default-src * 'self' gap: ; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; ">

With that the plugin started working. 

> StatusBar plugin not working in iOS 10
> --------------------------------------
>
>                 Key: CB-11877
>                 URL: https://issues.apache.org/jira/browse/CB-11877
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>    Affects Versions: 2.2.0
>            Reporter: Jorge Manrubia
>
> StatusBar plugin won't work with iOS 10:
> - Setting `StatusBarOverlaysWebView` to false won't have effect. The web view frame will overlay the status bar.
> - Executing the following will have no effect over the status bar at all.
> ```
> StatusBar.overlaysWebView(true);
> StatusBar.overlaysWebView(false);
> ```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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