Skip to content

exponea/exponea-react-native-sdk

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
March 7, 2023 10:09
March 7, 2023 10:09
March 7, 2023 10:09
ios
March 7, 2023 10:09
src
February 27, 2023 21:46
August 18, 2022 16:55
March 7, 2023 10:09
February 27, 2023 21:46
February 27, 2023 21:46

React Native Exponea SDK

React Native Exponea SDK allows your application to interact with the Exponea Customer Data & Experience Platform. Exponea empowers B2C marketers to raise conversion rates, improve acquisition ROI, and maximize customer lifetime value.

React native is implemented in Typescript as a wrapper around native Android SDK and native iOS SDK.

Getting started

Install the package using npm or yarn:

  • $ yarn add react-native-exponea-sdk
  • $ npm install react-native-exponea-sdk --save

For projects using Expo, you'll need to switch to Bare Workflow using expo eject.

iOS setup

  • $ cd ios
  • $ pod install

Minimal supported iOS version for Exponea SDK is 12.4, you may need to change iOS version on the first line of your ios/Podfile to platform :ios, '12.4', or higher.

Android setup

You'll most likely need to enable multidex. Edit android/app/build.gradle and add multiDexEnabled true to android defaultConfig.

android {
    ...
    defaultConfig {
        ...
        multiDexEnabled true
    }

Documentation

If facing any issues, look for Troubleshooting section in the respective document.

Release Notes

Release notes for the SDK.