This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

fiction-expo-clerk-auth

1.0.6 • Public • Published

Note: This package is deprecated in favor of fiction-expo-social-auth. Please use the new package for social media authentication.**

Not working in production, I'm fixing it. Fiction Expo Clerk Auth (Deprecated)

Fiction Expo Clerk Auth is a social media authentication helper developed by Fiction Developers. For more information, visit fictiondevelopers.com.

Installation

To use Fiction Expo Clerk Auth in your project, follow these steps:

  1. Install the package by running the following command:

    npm install fiction-expo-clerk-auth
  2. Import ExpoFictionClerkAuth in your code:

    import ExpoFictionClerkAuth from 'fiction-expo-clerk-auth';
  3. Use ExpoFictionClerkAuth component in your code:

    <ExpoFictionClerkAuth 
      click={clicked} 
      onData={(d) => {
         console.log("WIN WIN WIN")
         console.log(d)
      }}
      token="REPLACE_A_CLERK_AUTH_KEY"
    />
  4. Control the state of clicked with the following options:

    • clear: clears the ground
    • google: initiates login with google
    • facebook: initiates login with Facebook
    • apple: initiates login with Apple
    • logout: logsout

    Make sure to clear the state before setting any other state. For example, if you want to login with Google:

    setClicked('clear');
    setTimeout(() => {
      setClicked('google');
    }, 200);

For more information and usage examples, refer to the documentation.

Readme

Keywords

Package Sidebar

Install

npm i fiction-expo-clerk-auth

Weekly Downloads

1

Version

1.0.6

License

ISC

Unpacked Size

8.45 kB

Total Files

7

Last publish

Collaborators

  • mahevstark