# react-native-login-sdk

> It helps to auth in local or remote server for testing apps

Latest version **1.0.4** (published 2018-01-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-native-login-sdk
pnpm add react-native-login-sdk
yarn add react-native-login-sdk
bun add react-native-login-sdk
```

## 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.4 |
| Published | 2018-01-26 |
| First published | 2018-01-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ranvir Gorai |
| Maintainers | ranvir |
| Keywords | react, react-native, login, auth, Ranvir, Tech, Jamshedpur |

## Links

- npm: https://www.npmjs.com/package/react-native-login-sdk
- npm.io page: https://npm.io/package/react-native-login-sdk

## Alternatives

- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads
- [escher-request](https://npm.io/package/escher-request.md) — 545 weekly downloads

## Recent versions

- 1.0.4 (latest) — 2018-01-26
- 1.0.3 — 2018-01-24
- 1.0.2 — 2018-01-23
- 1.0.1 — 2018-01-23
- 1.0.0 — 2018-01-22

## README

# react-native-login-sdk

## Getting started

`$ npm install react-native-login-sdk --save`


## Usage

### Initialize the react-native-login-sdk.

```javascript

import loginSDK from 'react-native-login-sdk';
loginSDK.init('TOKEN', 'BASE_URL');

```

### Login 

```javascript
let object = {
      mobile:"+91 122454646", or email or User Id
      password:"1234"
    }
    loginSDK.login(object).then((isLogin)=>{
        console.log("is Login",isLogin);
    })
```

### isLogin 

```javascript
    loginSDK.isLogin().then((isLogin)=>{
      console.log("is Login",isLogin);
   })
```

### Register 

```javascript
let object ={
      mobile:"+91 122454646", or email or User Id
      password:"1234"
    }
   loginSDK.register(object).then((isRegistred)=>{
      console.log("is registred",isRegistred);
   })
```

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