1.0.28 • Published 1 year ago

volt-react-native-sdk v1.0.28

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

Volt React native SDK

Volt React native SDK is a React Native libary that provides a customizable RN component tailored for integrating with volt. This component validates authentication tokens and dynamically integarates volt journey to display a tailored end to end experience.

Installation

To install the volt-react-native-sdk component, you need to have react-native-webview installed. If you haven't already installed it, you can do so by running:

npm install react-native-webview

npm install volt-react-native-sdk:

Usage

Here's a basic example of how to use the CustomWebViews component in your React Native application:

import { CustomWebView } from 'volt-react-native-sdk';

const App = () => {
  return (
    <CustomWebView
      authToken="your-auth-token"
      platformCode="your-platform-code"
      environment="staging" // or "production"
      ssoToken="optional-sso-token"
      customerCode="optional-customer-code"
      primaryColor="optional-primary-color"
      secondaryColor="optional-secondary-color"
      callBack={}// pass the callback method here
    />
  );
};
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.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.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

1.0.0

1 year ago