# @jonarod/capacitor-navigation-bar

> Set navigation bar properties on Android.

Latest version **0.0.6** (published 2020-11-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @jonarod/capacitor-navigation-bar
pnpm add @jonarod/capacitor-navigation-bar
yarn add @jonarod/capacitor-navigation-bar
bun add @jonarod/capacitor-navigation-bar
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2020-11-27 |
| First published | 2020-11-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 107.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Jonarod |
| Maintainers | jonarod |
| Keywords | capacitor, plugin, native |

## Links

- npm: https://www.npmjs.com/package/@jonarod/capacitor-navigation-bar
- Repository: https://github.com/Jonarod/capacitor-navigation-bar
- Homepage: https://github.com/Jonarod/capacitor-navigation-bar#readme
- npm.io page: https://npm.io/package/@jonarod/capacitor-navigation-bar

## Recent versions

- 0.0.6 (latest) — 2020-11-27
- 0.0.5 — 2020-11-27
- 0.0.4 — 2020-11-27
- 0.0.3 — 2020-11-27
- 0.0.2 — 2020-11-27
- 0.0.1 — 2020-11-27

## README

# Install

```
npm i --save @jonarod/capacitor-navigation-bar
npx cap sync
```

then in `android/app/src/main/java/MainActivity.java`, add:

```
import com.jonarod.capacitor.plugins.NavigationBar;
```

then,

```
  add(NavigationBar.class);
```

# Usage

```
import { Plugins } from '@capacitor/core';
import { NavigationBar } from Plugins;

...

var options = {
  bgColor: "#FFFFFF",
  theme: "light", // or "dark"
  transparent: false,
  hide: false
}

NavigationBar.set(options);
```

# Work In Progress

`transparent` and `hide` options won't work for the moment... this is work in progress. I am open to PRs ;)

---
_Source: https://npm.io/package/@jonarod/capacitor-navigation-bar · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
