@valtioinc/react-native-sdk

0.0.6 • Public • Published

@valtioinc/react-native-sdk

The Valtio React Native SDK provides components to integrate data collection request workflows into React Native applications.

The Valtio Platform is a low-code document and data collection solution that enables application developers and businesses to quickly and securely collect sensitive data from users.

Installation

With npm

npm install @valtioinc/react-native-sdk

With Yarn

yarn add @valtioinc/react-native-sdk

Usage

Sending Valtio Requests

Business users can send data collection requests to users via the ValtioRequest component with mode="send".

If the business user does not have an active authenticated session with Valtio, they will be prompted to verify their identity before they can proceed.

Once authenticated, they will be provided a screen to send a request template to another user by simply providing the email address and name of the user.

Request templates are defined externally on the Valtio Platform. Please reach out to the Valtio team to create an account and for assistance in configuring requests

Example:

import { View } from "react-native";
import { ValtioRequest } from "@valtioinc/react-native-sdk";


export default function ExampleScreen() {
  return (
      <ValtioRequest
        endpoint="https://app-integration.valtio.io"
        mode="send"
        userIdentifier="+5555555555"
      />
  );
}

img.png

License

MIT

Dependents (0)

Package Sidebar

Install

npm i @valtioinc/react-native-sdk

Weekly Downloads

1

Version

0.0.6

License

MIT

Unpacked Size

23.4 kB

Total Files

25

Last publish

Collaborators

  • emilhdiaz