Iterable is a growth marketing platform that helps you to create better experiences for—and deeper relationships with—your customers. Use it to send customized email, SMS, push notification, in-app message and web push notification campaigns to your customers.
This SDK helps you integrate your React Native-based iOS and Android apps with Iterable. It supports JavaScript and TypeScript.
Iterable's React Native SDK relies on:
-
React Native
UI Components require additional peer dependencies
-
iOS
- Xcode 12+
- Deployment target 13.4+
- Iterable's iOS SDK
- Podfile Configuration: The linkage must be set to dynamic in your Podfile to load Swift modules that the SDK depends on. Add the following to your Podfile:
use_frameworks! :linkage => :dynamic
-
Android
For installation instructions, read Installing Iterable's React Native SDK.
View the API documentation.
Iterable's React Native SDK now fully supports React Native's New Architecture, including TurboModules and Fabric. You can use the SDK with either the legacy architecture or the New Architecture.
Notes:
- Ensure your app is configured for New Architecture per the React Native docs.
- The example app in this repository is configured with New Architecture enabled.
To opt into beta versions of the SDK, you can install the latest beta version by using the beta tag:
# Install the latest beta version
npm install @iterable/react-native-sdk@beta
# Or using yarn
yarn add @iterable/react-native-sdk@betaNote: Beta versions may contain experimental features and could have breaking changes. We recommend testing beta versions in development environments before using them in production. Please report any issues found in beta releases to Customer Support.
To learn more about the SDK, read:
- Overview of Iterable's React Native SDK
- Installing Iterable's React Native SDK
- Managing User Identity
- User Profile Data and Subscription Preferences
- Tracking Events
- Deep Links and Custom Actions
- Push Notifications
- In-App Messages
- Migrating to Iterable's React Native SDK
For sample code, take a look at the following project:
For quick reference, the following table lists the versions of the Android SDK and the iOS SDK the React Native SDK points to for version 1.2.0 and above.
| RN SDK Version | Android SDK Version | iOS SDK Version |
|---|---|---|
| 2.1.0-beta.0 | 3.5.2 | 6.5.4 |
| 2.0.3 | 3.5.2 | 6.5.4 |
| 2.0.2 | 3.5.2 | 6.5.4 |
| 2.0.1 | 3.5.2 | 6.5.4 |
| 2.0.0 | 3.5.2 | 6.5.4 |
| 2.0.0-beta.1 | 3.5.2 | 6.5.4 |
| 2.0.0-beta | 3.5.2 | 6.5.4 |
| 1.3.21 | 3.5.2 | 6.5.4 |
| 1.3.20 | 3.5.2 | 6.5.4 |
| 1.3.19 | 3.5.2 | 6.5.3 |
| 1.3.18 | 3.5.2 | 6.5.3 |
| 1.3.17 | 3.4.16 | 6.4.15 |
| 1.3.16 | 3.4.15 | 6.4.15 |
| 1.3.15 | 3.4.14 | 6.4.14 |
| 1.3.14 | 3.4.13 | 6.4.14 |
| 1.3.13 | 3.4.11 | 6.4.12 |
| 1.3.12 | 3.4.10 | 6.4.12 |
| 1.3.11 | 3.4.10 | 6.4.11 |
| 1.3.10 | 3.4.10 | 6.4.10 |
| 1.3.9 | 3.4.10 | 6.4.9 |
| 1.3.7 | 3.4.10 | 6.4.8 |
| 1.3.6 | 3.4.9 | 6.4.7 |
| 1.3.5 | 3.4.9 | 6.4.7 |
| 1.3.4 | 3.4.8 | 6.4.6 |
| 1.3.3 | 3.4.7 | 6.4.5 |
| 1.3.2 | 3.4.5 | 6.4.3 |
| 1.3.1 | 3.4.5 | 6.4.2 |
| 1.3.0 | 3.4.5 | 6.4.2 |
| 1.2.3 | 3.4.5 | 6.4.2 |
| 1.2.2 | 3.4.4 | 6.4.1 |
| 1.2.1 | 3.4.3 | 6.4.1 |
| 1.2.0 | 3.4.3 | 6.4.1 |
| 1.1.3 | 3.3.8 | 6.3.4 |
| 1.1.2 | 3.3.5 | 6.3.3 |
| 1.1.1 | 3.3.4 | 6.3.2 |
| 1.1.0 | 3.3.2 | 6.3.1 |
Release notes:
- Release Notes - Iterable's React Native SDK (major releases)
- Releases page on GitHub on GitHub (minor releases)
Support policies:
- Iterable's Mobile SDK Support Policy
- Deprecation and End-of-Life Schedule for Iterable's React Native SDK
Please contact your customer success manager with any questions.
This SDK is released under the MIT License. See LICENSE for more information.
This library is open source, and we will look at issue reports and pull requests. See CONTRIBUTING for more information.
