Skip to content

Commit

Permalink
Merge pull request #137 from crossroads/master
Browse files Browse the repository at this point in the history
#SeptemberRelease1 (Cordova plugin status bar fix)
  • Loading branch information
namrataukirde authored Sep 1, 2017
2 parents dac2347 + f7a0097 commit 4e65980
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 9 additions & 0 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
{{content-for 'head'}}
<link rel="stylesheet" href="assets/vendor.css">
<link rel="stylesheet" href="assets/goodcity.css">
<script type="text/javascript">
document.addEventListener("deviceready", onDeviceReady, false);

function onDeviceReady(){
StatusBar.overlaysWebView(false);
StatusBar.backgroundColorByName("black");
StatusBar.styleLightContent();
}
</script>

{{content-for 'head-footer'}}

Expand Down
5 changes: 1 addition & 4 deletions cordova/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@
<feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar"/>
</feature>
<preference name="StatusBarOverlaysWebView" value="false"/>
<preference name="StatusBarBackgroundColor" value="#000000"/>
<preference name="StatusBarStyle" value="lightcontent"/>
<preference name="Orientation" value="portrait"/>
<preference name="Fullscreen" value="true"/>
</platform>
Expand All @@ -76,13 +73,13 @@
<plugin name="phonegap-plugin-push" spec="~1.4.5">
<variable name="SENDER_ID" value="XXXXXXX"/>
</plugin>
<plugin name="cordova-plugin-statusbar" spec="~2.1.1"/>
<plugin name="cordova-plugin-device" spec="~1.1.1"/>
<plugin name="cordova-plugin-whitelist" spec="~1.2.1"/>
<plugin name="cordova-plugin-inappbrowser" spec="~1.2.1"/>
<plugin name="cordova-plugin-network-information" spec="~1.2.0"/>
<plugin name="cordova-plugin-actionsheet" spec="https://github.com/EddyVerbruggen/cordova-plugin-actionsheet.git"/>
<plugin name="cordova-plugin-camera" spec="~2.1.0"/>
<plugin name="cordova-plugin-statusbar" spec="~2.1.1"/>
<plugin name="cordova-plugin-splashscreen" spec="~3.1.0"/>
<plugin name="com.nrswolf.cordova.push-notifications-status" spec="https://github.com/nrswolf/cordova-plugin-push-notifications-status.git"/>
<plugin name="cordova-plugin-ios-no-export-compliance" spec="https://github.com/mikaoelitiana/cordova-plugin-ios-no-export-compliance.git" />
Expand Down

0 comments on commit 4e65980

Please sign in to comment.