@adobe/react-native-aepassurance
v7.0.0
Published
Adobe Experience Platform support for React Native apps.
Downloads
54,942
Readme
React Native Adobe Experience Platform Assurance Extension
@adobe/react-native-aepassurance
is a wrapper around the iOS and Android Adobe Experience Platform Assurance to allow for integration with React Native applications. Functionality to start Assurance session is provided through JavaScript documented below.
Prerequisites
The Adobe Experience Platform Assurance extension has the following peer dependency, which must be installed prior to installing the identity extension:
Installation
See Requirements and Installation instructions on the main page
Install the @adobe/react-native-aepassurance
package:
NPM:
npm install @adobe/react-native-aepassurance
Yarn:
yarn add @adobe/react-native-aepassurance
Usage
Initializing with SDK:
To initialize the SDK, use the following methods:
Refer to the root Readme for more information about the SDK setup.
To connect to an Assurance session by scanning the QR code, follow the Android documentation for more information about how to setup a deeplink.
Importing the extension:
import { Assurance } from "@adobe/react-native-aepassurance";
Start Assurance session:
Assurance.startSession("{your-assurance-session-url}");