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.
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.
See the Evervault React Native SDK documentation.
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
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>
);
}
Bug reports and pull requests are welcome on GitHub at https://github.com/evervault/js.
Questions or feedback? Let us know.