1.0.28 • Published 10 months ago

volt-react-native-sdk v1.0.28

Weekly downloads
-
License
-
Repository
-
Last release
10 months 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

10 months ago

1.0.27

10 months ago

1.0.26

10 months ago

1.0.25

10 months ago

1.0.23

10 months ago

1.0.22

11 months ago

1.0.21

11 months ago

1.0.20

11 months ago

1.0.19

11 months ago

1.0.18

11 months ago

1.0.17

12 months ago

1.0.16

12 months ago

1.0.15

12 months ago

1.0.14

12 months ago

1.0.13

12 months ago

1.0.12

12 months ago

1.0.11

12 months 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