🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@superhawk610/react-native-android-statusbar

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@superhawk610/react-native-android-statusbar

A react native android package to control the status bar.

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

@superhawk610/react-native-android-statusbar

A React Native Android module to control the Android statusbar, forked from NishanthShankar/react-native-android-statusbar.

Installation

npm i -D @superhawk610/react-native-android-statusbar
react-native link @superhawk610/react-native-android-statusbar

Usage

import StatusBarAndroid from 'react-native-android-statusbar'

/* API >= 16 */
StatusBarAndroid.hideStatusBar()
StatusBarAndroid.showStatusBar()

/* API >= 21 */
StatusBarAndroid.setRGB(int red, int green, int blue);
StatusBarAndroid.setARGB(int alpha,int red, int green, int blue);
StatusBarAndroid.setHexColor('#AB1223'); /*Supported formats are: #RRGGBB #AARRGGBB or :
'red', 'blue', 'green', 'black', 'white', 'gray', 'cyan', 'magenta', 'yellow',
'lightgray', 'darkgray', 'grey', 'lightgrey', 'darkgrey', 'aqua',
'fuchsia', 'lime', 'maroon', 'navy', 'olive', 'purple', 'silver', 'teal'.*/

Keywords

react-component

FAQs

Package last updated on 06 Jun 2018

Did you know?

Socket

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