import React from "react";
import {get_item,set_item,clear_item} from '../components/localStorage';
import { mapStateToProps,mapDispatchToProps } from '../reducers/contextProvider';
import { connect} from 'react-redux';
import {BackHandler} from 'react-native';
import RNExitApp from 'react-native-exit-app';

export async function logout(props){

    const pdata={islogin:false,SecurityToken:''};    
    RNExitApp.exitApp();
    
}