1.0.51 • Published 1 year ago

@frigade/react-native v1.0.51

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@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.

1.0.51

1 year ago

1.0.50

1 year ago

1.0.49

1 year ago

1.0.48

1 year ago

1.0.47

1 year ago

1.0.46

1 year ago

1.0.45

1 year ago

1.0.44

1 year ago

1.0.43

1 year ago

1.0.42

1 year ago

1.0.41

1 year ago

1.0.40

1 year ago

1.0.39

1 year ago

1.0.38

1 year ago

1.0.37

1 year ago

1.0.36

1 year ago

1.0.35

1 year ago

1.0.34

1 year ago

1.0.33

1 year ago

1.0.32

1 year ago

1.0.31

1 year ago

1.0.30

1 year ago

1.0.29

1 year ago

1.0.28

1 year ago

1.0.27

1 year ago

1.0.26

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.23

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

0.0.1

1 year ago