@evervault/react-native
TypeScript icon, indicating that this package has built-in type declarations

2.3.0 • Public • Published

Evervault

Evervault React Native SDK

The Evervault React Native SDK is a toolkit for encrypting data on the client. Using the Evervault React Native SDK means your customer's data never leaves their device unencrypted.

Getting Started

Before starting with the Evervault React Native SDK, you will need to create an account and a team.

For full installation support, book time here.

Documentation

See the Evervault React Native SDK documentation.

Installation

Our React Native SDK is distributed via npm, and can be installed using your preferred package manager.

# Using npm
npm install @evervault/react-native

# Using yarn
yarn add @evervault/react-native

# Using pnpm
pnpm add @evervault/react-native

Usage

Once installed, initialize the React Native SDK with your Team and App ID found in the Evervault Dashboard.

Use the <EvervaultProvider> component as a provider for your app.

import { EvervaultProvider, Card, type CardPayload } from "@evervault/evervault-react-native";

function App() {
  const [data, setData] = useState<CardPayload | null>(null);

  return (
    <EvervaultProvider teamId="team_xxx" appId="app_xxx">
      <Card onChange={setData}>
        <Card.Holder />
        <Card.Number />
        <Card.Expiry />
        <Card.CVC />
      </Card>
    </EvervaultProvider>
  );
}

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/evervault/js.

Feedback

Questions or feedback? Let us know.

Readme

Keywords

none

Package Sidebar

Install

npm i @evervault/react-native

Weekly Downloads

31

Version

2.3.0

License

MIT

Unpacked Size

2.14 MB

Total Files

177

Last publish

Collaborators

  • narruc
  • butlerx
  • boilsquid
  • lfarrelly
  • evervault-deploy