sovtech-core-social-login
v1.2.0
Published
SovTech Core social login package
Downloads
14
Maintainers
Readme
SOVTECH-CORE-SOCIAL-LOGIN
an awesome social login component for expo with Google, Facebook, Apple and Instagram
Features
- login with Facebook
- login with Google
- login with Instagram
- login with Apple
How to use this cute package
Install the cutest package
using yarn
yarn add sovtech-core-social-login
using npm
npm install sovtech-core-social-login
Use it in your login/register screen
import SocialLogin from 'sovtech-core-social-login'
...
<SocialLogin
enableInstagram
enableApple
instagramAppId=""
instagramAppSecret=""
instagramRedirectUrl=""
googleClientId={process.env.GOOGLE_CLIENT_ID }
facebookAppId={process.env.FACEBOOK_APP_ID }
onSignInSuccess={(provider, token) => handleLogin(provider,token)}
onError={(error) => handleError(error)}
/>