Adobe Experience Platform support for React Native apps.
npm install @adobe/react-native-aepassurance

@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.
The Adobe Experience Platform Assurance extension has the following peer dependency, which must be installed prior to installing the identity extension:
- Core
See Requirements and Installation instructions on the main page
Install the @adobe/react-native-aepassurance package:
NPM:
``bash`
npm install @adobe/react-native-aepassurance
Yarn:
`bash`
yarn add @adobe/react-native-aepassurance
To initialize the SDK, use the following methods:
- MobileCore.initializeWithAppId(appId)
- MobileCore.initialize(initOptions)
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.
`typescript`
import { Assurance } from "@adobe/react-native-aepassurance";
`typescript``
Assurance.startSession("{your-assurance-session-url}");