react-native-fb-login
v1.0.1
Published
facebook login with webview only
Downloads
12
Readme
React Native Facebook webview login
This package use webview to make oAuth with facebook, so you can logout then relogin with other facebook account easy by clear cookies
Install
npm install react-native-fb-login --save
or
yarn add react-native-fb-login
Usage:
See example
Logout
To logout use clear cookies by using https://github.com/shimohq/react-native-cookie
import Cookie from 'react-native-cookie'
logout() {
Cookie.clear().then(() => {
this.setState({ token: null })
})
}