Getting started with React Native SDK
Follow the documentation on how to use Medallia Experience Orchestration React Native SDK.
Before you begin (version 1.0.0)
-
React Native requirements:
- React Native Android 0.73.6
- React Native iOS 0.73.6
- React Native Core 18.2.0
-
iOS requirements:
- Minimum deployment target 13.0
- Xcode 16+
- Base iOS version 18.0
-
Android requirements:
- Android 9.0 - 14.0 (API levels 28 - 34)
- Android Gradle Plugin 8.0+
- Gradle 8.0+
- Java 17
- Kotlin 1.9.10+
Registration of Medallia's NPM
~/.npmrc
files:@medallia:registry=https://repository.medallia.com/artifactory/api/npm/public-npm
Installation of the MXO React Native SDK
App
's root folder and run the following command:npm install @medallia/mxo-react-native-sdk
Upon installation, run the iOS and/or Android projects by using the following commands as described in the React Native documentation for iOS and Android:npm run ios
npm run android
Installation for Android
In addition to the above, Android SDK requires the following updates to the build.gradle
files:
Applying the MXO Orchestration Plugin.
Adding the
coreLibraryDesugaring
dependency.
Configuration of the MXO React Native SDK
To configure the Medallia Experience Orchestration React Native SDK, see Configuring React Native SDK.
Removal of the MXO React Native SDK
To remove the MXO React Native SDK from your app, execute the following command in your Terminal:
npm uninstall @medallia/mxo-react-native-sdk