# react-native-get-imei

> ## Getting started

Latest version **1.0.1** (published 2018-07-06) · 0 weekly downloads

## Install

```sh
npm install react-native-get-imei
pnpm add react-native-get-imei
yarn add react-native-get-imei
bun add react-native-get-imei
```

## 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.1 |
| Published | 2018-07-06 |
| First published | 2018-07-06 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.9 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | xen0m |
| Keywords | react-native |

## Links

- npm: https://www.npmjs.com/package/react-native-get-imei
- npm.io page: https://npm.io/package/react-native-get-imei

## Recent versions

- 1.0.1 (latest) — 2018-07-06
- 1.0.0 — 2018-07-06

## README

# react-native-get-imei

## Getting started

`$ npm install react-native-get-imei --save`

### Mostly automatic installation

`$ react-native link react-native-get-imei`

### Manual installation


#### Android

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


## Usage
```javascript
import RNGetImei from 'react-native-get-imei';
RNGetImei.getImei().then((result) => {
	console.log(result);
});
```

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