Socket
Socket
Sign inDemoInstall

cordova-plugin-hidden-statusbar-overlay

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cordova-plugin-hidden-statusbar-overlay

Hides the statusbar and overlay


Version published
Weekly downloads
10
decreased by-41.18%
Maintainers
1
Install size
22.5 kB
Created
Weekly downloads
 

Changelog

Source

Version 2.0.1 (07.09.2017)

  • Update package.json to work with latest cordova and NPM.

Readme

Source

SAMPLE APP :point_right:

HiddenStatusbarOverlay Plugin npm version

Beginning with iOS 7 view controllers are displayed full screen, by default, as shown here. This means they will cover the entire screen including the area underneath the status bar.

Supported Platforms

  • iOS

Installation

The plugin can be installed via CLI and is publicly available on NPM.

Execute from the projects root folder:

$ cordova plugin add cordova-plugin-hidden-statusbar-overlay

Or install a specific version:

$ cordova plugin add cordova-plugin-hidden-statusbar-overlay@VERSION

Or install the latest head version:

$ cordova plugin add https://github.com/katzer/cordova-plugin-hidden-statusbar-overlay.git

Or install from local source:

$ cordova plugin add cordova-plugin-hidden-statusbar-overlay --searchpath <path>

Or add the following line to the config.xml for Phonegap Build projects:

<plugin name="cordova-plugin-hidden-statusbar-overlay" spec="https://github.com/katzer/cordova-plugin-hidden-statusbar-overlay" />

Usage

The plugin creates the object cordova.plugins.statusbarOverlay and is accessible after the deviceready event has been fired.

document.addEventListener('deviceready', function () {
    // cordova.plugins.statusbarOverlay is now available
}, false);

Statusbar and the overlay will be hidden on app start. The visibility of the status bar can be changed manually.

To hide the status bar:

cordova.plugins.statusbarOverlay.hide();

To show the status bar:

cordova.plugins.statusbarOverlay.show();

To determine if the status bar is hidden:

cordova.plugins.statusbarOverlay.isHidden(function (isHidden) {
    console.log('status bar is hidden? -> ', isHidden)
});

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

This software is released under the Apache 2.0 License.

Made with :yum: from Leipzig

© 2013 appPlant GmbH

Keywords

FAQs

Last updated on 07 Sep 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc