Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-navigation-bar-color

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-navigation-bar-color - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

0

index.js

@@ -0,0 +0,0 @@ import { changeNavigationBarColor, HideNavigationBar, ShowNavigationBar } from './src';

46

package.json
{
"name": "react-native-navigation-bar-color",
"version": "0.0.6",
"description": "React Native component to change bottom bar/navigation bar color on Android",
"main": "index.js",
"keywords": [
"react-native",
"react-native-component",
"react-component",
"react",
"native",
"navigation-bar",
"navigation-bar-color",
"navigation-theme",
"bottom-bar",
"bottom-bar-color"
],
"repository": "https://github.com/thebylito/react-native-navigation-bar-color.git",
"author": "Welington da Silva - (https://github.com/thebylito)",
"license": "MIT",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
}
}
"name": "react-native-navigation-bar-color",
"version": "0.0.7",
"description": "React Native component to change bottom bar/navigation bar color on Android",
"main": "index.js",
"keywords": [
"react-native",
"react-native-component",
"react-component",
"react",
"native",
"navigation-bar",
"navigation-bar-color",
"navigation-theme",
"bottom-bar",
"bottom-bar-color"
],
"repository": "https://github.com/thebylito/react-native-navigation-bar-color.git",
"author": "Welington da Silva - (https://github.com/thebylito)",
"license": "MIT",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
}
}
# React Native Navigation Bar Color Change
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fthebylito%2Freact-native-navigation-bar-color.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fthebylito%2Freact-native-navigation-bar-color?ref=badge_shield)
React Native Navigation Bar Color Change is a [React Native](http://facebook.github.io/react-native/) library for change color of navigation/Bottom bar on Android.

@@ -36,5 +38,6 @@

2. Append the following lines to `android/settings.gradle`:
```include ':react-native-navigation-bar-color'
project(':react-native-navigation-bar-color').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-navigation-bar-color/android')
```
include ':react-native-navigation-bar-color'
project(':react-native-navigation-bar-color').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-navigation-bar-color/android')
```
3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:

@@ -60,7 +63,7 @@ ```

};
hideNavigation = () => {
hideNavigation() {
HideNavigationBar();
};
showNavigation = () => {
showNavigation() {
ShowNavigationBar();

@@ -93,11 +96,7 @@ };

title="Hide bar"
onPress={() => {
this.hideNavigation();
}}
onPress={this.hideNavigation}
/>
<Button
title="Show bar"
onPress={() => {
this.showNavigation();
}}
onPress={this.showNavigation}
/>

@@ -131,7 +130,7 @@ <Text>Hello Word!</Text>

}
};
```
##OR
## OR

@@ -175,1 +174,4 @@ ```javascript

MIT
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fthebylito%2Freact-native-navigation-bar-color.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fthebylito%2Freact-native-navigation-bar-color?ref=badge_large)

@@ -0,0 +0,0 @@ import { NativeModules } from 'react-native';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc