# react-native-roamcharge

> Reactnative Wrapper for Roamcharge Android SDK

Latest version **1.0.8** (published 2022-09-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-roamcharge
pnpm add react-native-roamcharge
yarn add react-native-roamcharge
bun add react-native-roamcharge
```

## 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.8 |
| Published | 2022-09-12 |
| First published | 2022-09-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 15 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Deepfleet Dev |
| Maintainers | jijoy |
| Keywords | react-native, roamcharge, charging aggregator |

## Links

- npm: https://www.npmjs.com/package/react-native-roamcharge
- Repository: https://github.com/Deepfleet/Roamcharge-reactnative
- Homepage: https://github.com/Deepfleet/Roamcharge-reactnative#readme
- Issues: https://github.com/Deepfleet/Roamcharge-reactnative/issues
- npm.io page: https://npm.io/package/react-native-roamcharge

## Recent versions

- 1.0.8 (latest) — 2022-09-12
- 1.0.7 — 2022-09-12
- 1.0.6 — 2022-09-10
- 1.0.5 — 2022-09-09
- 1.0.4 — 2022-09-09
- 1.0.3 — 2022-09-07
- 1.0.2 — 2022-09-07
- 1.0.1 — 2022-09-07
- 1.0.0 — 2022-09-07

## README

# react-native-roamcharge

This is a react native wrapper over Native SDK of [Roamcharge](https://play.google.com/store/apps/details?id=com.deepfleet.roam_ev_charging_app) platform by [Deepfleet](https://deepfleet.com)

Reachout to support@deepfleet.com for your API Key

## Getting started

`$ npm install react-native-roamcharge --save`

### Mostly automatic installation

`$ react-native link react-native-roamcharge`

### 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-roamcharge` and add `RNRoamcharge.xcodeproj`
3. In XCode, in the project navigator, select your project. Add `libRNRoamcharge.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.RNRoamchargePackage;` to the imports at the top of the file
  - Add `new RNRoamchargePackage()` to the list returned by the `getPackages()` method
2. Append the following lines to `android/settings.gradle`:
  	```
  	include ':react-native-roamcharge'
  	project(':react-native-roamcharge').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-roamcharge/android')
  	```
3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:
  	```
      compile project(':react-native-roamcharge')
  	```



## Usage
```javascript
import RNRoamcharge from 'react-native-roamcharge';

// What to do with the module?
RNRoamcharge.show({API_KEY:'YOUR API KEY'});
```

react-native-roamcharge is Copyright (c) 2022 Deepfleet Pvt Ltd. It is distributed under the MIT License.

## License

We ♥ open source software! .Distributed under the [MIT License](https://github.com/razorpay/react-native-razorpay/blob/master/LICENSE).

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