Net Possibility Multiplier

    react-native-login-sdk

    1.0.4 • Public • Published

    react-native-login-sdk

    Getting started

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

    Usage

    Initialize the react-native-login-sdk.

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

    Login

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

    isLogin

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

    Register

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

    Install

    npm i react-native-login-sdk

    DownloadsWeekly Downloads

    1

    Version

    1.0.4

    License

    MIT

    Last publish

    Collaborators

    • ranvir