# react-native-ctrlpanel-core

> Wraps `@ctrlpanel/core` in a WebView and bridges the API. This is needed since `@ctrlpanel/core` depends on WebCrypto which is not supported by React Native.

Latest version **1.0.0-alpha.9** (published 2018-08-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-ctrlpanel-core
pnpm add react-native-ctrlpanel-core
yarn add react-native-ctrlpanel-core
bun add react-native-ctrlpanel-core
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0-alpha.9 |
| Published | 2018-08-14 |
| First published | 2018-07-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 323.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | linusu |

## Links

- npm: https://www.npmjs.com/package/react-native-ctrlpanel-core
- Repository: https://github.com/ctrl-alt-deseat/react-native-ctrlpanel-core
- Homepage: https://github.com/ctrl-alt-deseat/react-native-ctrlpanel-core#readme
- Issues: https://github.com/ctrl-alt-deseat/react-native-ctrlpanel-core/issues
- npm.io page: https://npm.io/package/react-native-ctrlpanel-core

## Dependencies (3)

- [base64-js](https://npm.io/package/base64-js.md) ^1.3.0
- [encode-utf8](https://npm.io/package/encode-utf8.md) ^1.0.2
- [@types/react](https://npm.io/package/@types/react.md) ^16.4.6

## Recent versions

- 1.0.0-alpha.9 (latest) — 2018-08-14
- 1.0.0-alpha.8 — 2018-08-13
- 1.0.0-alpha.7 — 2018-07-30
- 1.0.0-alpha.6 — 2018-07-30
- 1.0.0-alpha.5 — 2018-07-30
- 1.0.0-alpha.4 — 2018-07-30
- 1.0.0-alpha.3 — 2018-07-30
- 1.0.0-alpha.2 — 2018-07-27
- 1.0.0-alpha.1 — 2018-07-25

## README

# React Native bridge for `@ctrlpanel/core`

Wraps `@ctrlpanel/core` in a WebView and bridges the API. This is needed since `@ctrlpanel/core` depends on WebCrypto which is not supported by React Native.

## Installation

```sh
npm install --save react-native-ctrlpanel-core
```

## Usage

```js
import React, { Component } from 'react'
import { View } from 'react-native'
import CtrlpanelCore from 'react-native-ctrlpanel-core'

class App extends Component {
  constructor (props) {
    super(props)
    this.core = React.createRef()
  }

  componentDidMount () {
    // The API is now available at:
    this.core.current
  }

  render () {
    return (
      <View>
        <CtrlpanelCore ref={this.core} />

        {/* Render your app here */}
      </View>
    )
  }
}
```

---
_Source: https://npm.io/package/react-native-ctrlpanel-core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
