React Native AEP Campaign Standard Extension
You need to install the SDK with npm and configure the native Android/iOS project in your react native project. Before installing the Campaign extension it is recommended to begin by installing the Core extension.
Note: If you are new to React Native we suggest you follow the React Native Getting Started page before continuing.
1. Create React Native project
First create a React Native project:
react-native init MyReactApp
Install and link the
cd MyReactAppnpm install @adobe/react-native-acpcampaign
- React Native 0.60+
CLI autolink feature links the module while building the app.
- React Native <= 0.59
react-native link @adobe/react-native-acpcampaign
cd ios/ && pod install
This project contains jest unit tests which are contained in the
__tests__ directory, to run the tests locally:
Importing the extension:
Getting the extension version:
Registering the extension with ACPCore:
Set linkage fields:
Reset linkage fields: