MCPcopy Index your code
hub / github.com/Iterable/react-native-sdk

github.com/Iterable/react-native-sdk @3.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 3.0.1 ↗ · + Follow
557 symbols 1,256 edges 196 files 135 documented · 24% 4 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Iterable logo

Iterable's React Native SDK

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.

Requirements

Iterable's React Native SDK relies on:

Installation

For installation instructions, read Installing Iterable's React Native SDK.

📚 API Documentation

View the API documentation.

Architecture Support

Iterable's React Native SDK supports React Native's New Architecture, including TurboModules and Fabric.

IMPORTANT: Iterable's React Native SDK supports React Native's Legacy Architecture, but it is no longer actively maintained. Use at your own risk.

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.

Beta Versions

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@beta

Note: 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.

Features

To learn more about the SDK, read:

Example project

For sample code, take a look at the following project:

Version mapping

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
3.0.1 3.6.2 6.6.3
3.0.0 3.6.2 6.6.3
2.2.2 3.6.2 6.6.3
2.2.1 3.6.2 6.6.3
2.2.0 3.6.2 6.6.3
2.1.0 3.5.2 6.5.4
2.0.4 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
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](https:/

Extension points exported contracts — how you extend this code

IterableInAppContent (Interface)
(no doc) [1 implementers]
src/inApp/types/IterableInAppContent.ts
IterableEdgeInsetDetails (Interface)
(no doc) [1 implementers]
src/core/types/IterableEdgeInsetDetails.ts
Spec (Interface)
(no doc)
example/src/NativeJwtTokenModule.ts
IterableEmbeddedMessageElements (Interface)
(no doc)
src/embedded/types/IterableEmbeddedMessageElements.ts
EmbeddedMessage (Interface)
(no doc)
src/api/NativeRNIterableAPI.ts
IterableInboxRowViewModel (Interface)
(no doc)
src/inbox/types/IterableInboxRowViewModel.ts
IterableHtmlInAppContentRaw (Interface)
(no doc)
src/inApp/types/IterableHtmlInAppContentRaw.ts
IterableAuthFailure (Interface)
(no doc)
src/core/types/IterableAuthFailure.ts

Core symbols most depended-on inside this repo

log
called by 87
src/core/classes/IterableLogger.ts
readBoolean
called by 26
src/core/classes/IterableUtil.ts
initialize
called by 24
src/core/classes/Iterable.ts
useDeviceOrientation
called by 24
src/core/hooks/useDeviceOrientation.tsx
passAlongAuthToken
called by 23
src/api/NativeRNIterableAPI.ts
getActionPrefix
called by 20
src/core/utils/getActionPrefix.ts
fromDict
called by 15
src/core/classes/IterableAction.ts
useAppStateListener
called by 15
src/core/hooks/useAppStateListener.ts

Shape

Method 390
Function 67
Class 55
Interface 27
Enum 18

Languages

TypeScript61%
Java36%
Kotlin2%

Modules by API surface

android/src/main/java/com/iterable/reactnative/RNIterableAPIModuleImpl.java65 symbols
android/src/oldarch/java/com/RNIterableAPIModule.java52 symbols
android/src/newarch/java/com/RNIterableAPIModule.java52 symbols
src/api/NativeRNIterableAPI.ts49 symbols
src/core/classes/IterableApi.ts45 symbols
src/core/classes/Iterable.ts31 symbols
android/src/main/java/com/iterable/reactnative/Serialization.java20 symbols
src/inbox/classes/IterableInboxDataModel.ts15 symbols
src/inbox/components/IterableInbox.tsx14 symbols
src/embedded/classes/IterableEmbeddedManager.ts13 symbols
src/__mocks__/MockRNIterableAPI.ts11 symbols
src/inApp/classes/IterableInAppManager.ts9 symbols

For agents

$ claude mcp add react-native-sdk \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact