Socket
Book a DemoInstallSign in
Socket

@frigade/react-native

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frigade/react-native

Delightful and fully customizable onboarding elements for React Native.

1.0.51
latest
Source
npmnpm
Version published
Weekly downloads
5
400%
Maintainers
1
Weekly downloads
 
Created
Source

@frigade/react-native

npm version code style: prettier

The official React Native SDK for Frigade.

Installation

Install the package with either npm or yarn:

npm install @frigade/react-native

or

yarn add @frigade/react-native

Quick start

Place the FrigadeProvider at the root level of your app. This will provide the context for the Frigade component. If available, you can optionally set the identifier of the signed in user using the userId param. This will allow Frigade to track the user's across flows.

import {FrigadeProvider} from '@frigade/react-native';

const App = () => {
  return (
    <FrigadeProvider publicApiKey='<MY_PUBLIC_API_KEY>'
                     userId='<OPTIONAL_USER_ID>'>
      ...
    </FrigadeProvider>
  );
};

With the FrigadeProvider in place, you can now use the FrigadeFlow component to render a flow. Make sure to pass the flowId of the flow you want to render (copied from the Frigade dashboard).

import {FrigadeFlow} from '@frigade/react-native';

const App = () => {
  return (
    <FrigadeFlow flowId='flow_6EoJIzZlOmCACn'/>
  );
};

Docs

The official docs are available at docs.frigade.com.

Get in touch

Questions? Comments? Suggestions? Join the Frigade Discord or visit the Frigade website.

Keywords

React

FAQs

Package last updated on 09 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.