# react-native-compassites-commons

> Common react native components for Compassites

Latest version **1.0.5** (published 2017-10-13) · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install react-native-compassites-commons
pnpm add react-native-compassites-commons
yarn add react-native-compassites-commons
bun add react-native-compassites-commons
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2017-10-13 |
| First published | 2017-10-13 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mobility Team |
| Maintainers | reactatcompassites |
| Keywords | react-native |

## Links

- npm: https://www.npmjs.com/package/react-native-compassites-commons
- npm.io page: https://npm.io/package/react-native-compassites-commons

## Recent versions

- 1.0.5 (latest) — 2017-10-13
- 1.0.4 — 2017-10-13
- 1.0.3 — 2017-10-13
- 1.0.2 — 2017-10-13
- 1.0.1 — 2017-10-13
- 1.0.0 — 2017-10-13

## README

# react-native-compassites-commons

## Getting started

`$ npm install react-native-compassites-commons --save`

### Mostly automatic installation

`$ react-native link react-native-compassites-commons`

### Manual installation


#### iOS

1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`
2. Go to `node_modules` ➜ `react-native-compassites-commons` and add `RNCompassitesCommons.xcodeproj`
3. In XCode, in the project navigator, select your project. Add `libRNCompassitesCommons.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`
4. Run your project (`Cmd+R`)<

#### Android

1. Open up `android/app/src/main/java/[...]/MainActivity.java`
  - Add `import com.reactlibrary.RNCompassitesCommonsPackage;` to the imports at the top of the file
  - Add `new RNCompassitesCommonsPackage()` to the list returned by the `getPackages()` method
2. Append the following lines to `android/settings.gradle`:
  	```
  	include ':react-native-compassites-commons'
  	project(':react-native-compassites-commons').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-compassites-commons/android')
  	```
3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:
  	```
      compile project(':react-native-compassites-commons')
  	```


## Usage
```javascript
import RNCompassitesCommons from 'react-native-compassites-commons';

// TODO: What to do with the module?
RNCompassitesCommons;
```

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