Skip to main content
The Iterable plugin connects your app to Iterable’s iOS and Android SDKs (Overview of Iterable’s iOS and Android SDKs) for push delivery, audience targeting, and user identification. Configure the plugin in Median App Studio (including API key and optional data region), then use the Median JavaScript Bridge to initialize the SDK when needed, register for push, request permission, and identify users by email or user ID.

Why use Iterable

  • Push delivery: Send Iterable campaigns to devices through the native push channel.
  • Segmentation and targeting: Align push with Iterable audiences and campaign logic.
  • Flexible initialization: Supply apiKey in App Studio for automatic setup, or call initialize at runtime when you need dynamic configuration.
  • User identification: Tie devices to Iterable profiles with setEmail or setUserId, then refresh the push token with registerPush as documented by Iterable.

Prerequisites

  • A Median app with the JavaScript Bridge enabled
  • Access to Native Plugins → Iterable in App Studio
  • An Iterable API key and (if applicable) a data region such as EU
  • google-services.json uploaded to your app (see Google Services)
  • Deep linking enabled in the app if notification URLs should open in-app

Integration guide

Plugin setup

Enable the plugin

  1. Navigate to Native Plugins: In App Studio, open Native Plugins and select Iterable.
  2. Enable Iterable: Turn the plugin on and fill in the settings below.
  3. Add google-services.json: Iterable requires google-services.json.
  4. Enable deep linking: Set up deep linking so notification links open in your app rather than the device browser.

Configuration options

If you leave API Key empty, call median.iterable.initialize() from your web app with your API key and optional dataRegion before relying on other JavaScript Bridge methods.

JavaScript Bridge functions

Initialize

Manually initializes the Iterable SDK when you are not relying on automatic initialization from App Studio config.
Parameters:

Check permission status

Returns whether the Iterable SDK has been initialized and, when initialized, echoes the active apiKey and dataRegion.
Parameters:

Register push

Registers the current user for push notifications and refreshes the device token.
Parameters:

Request permission

Prompts the user for push notification permission.
Parameters:

Set email

Identifies the current user by email in Iterable. After a successful call, invoke registerPush to generate a new token for that profile.
Parameters:

Set user ID

Identifies the current user by user ID. After a successful call, invoke registerPush to generate a new token for that profile.
Parameters:

Testing checklist

Use this checklist to ensure Iterable is working correctly in your app: Basic functionality
  • The plugin is enabled in Native Plugins, with a valid API Key and the correct Data Region when applicable
  • median.iterable.isInitialized() reflects the expected state after App Studio config or initialize()
  • median.iterable.requestPermission() (or Automatic Registration) yields the expected permission outcome
  • median.iterable.registerPush() completes with success: true after permission is granted
Platform testing
  • Push registration and receipt behave on Android test devices
  • Push registration and receipt behave on iOS test devices
  • Iterable test sends reach the device after setEmail / setUserId and registerPush
Error scenarios
  • Failed initialize or registerPush paths do not leave the app in a broken state (retry or messaging as needed)
  • Behavior is sane when permission is denied (no silent assumptions that push is enabled)
Edge cases
  • Runtime initialize with apiKey / dataRegion matches your Iterable project
  • User switching (setEmail / setUserId changes) is followed by registerPush so tokens stay aligned
User experience
  • Permission prompts appear at a sensible time relative to your onboarding
  • Deep-linked notification opens land on the correct in-app destination

Troubleshooting

Why are Iterable JavaScript Bridge functions undefined or not working?

Confirm the JavaScript Bridge is enabled in App Studio, call JavaScript Bridge APIs after the median_library_ready() event, and verify Iterable is enabled under Native Plugins.

Why is isInitialized false, or why does initialize keep failing?

Check that the API key and optional data region match your Iterable project. If you rely on runtime initialization, ensure median.iterable.initialize() runs before other Iterable calls and that network access is available.

Why aren’t test notifications reaching the device?

Ensure you have called setEmail or setUserId for the test profile, then registerPush, and that the user has granted notification permission. Confirm the device is registered in Iterable for that identifier. Enable and configure Deep linking for your Median app so URLs from Iterable notifications route in-app. Verify URL patterns match your app’s deep link configuration.

Why isn’t my EU data region working correctly?

If your Iterable workspace uses the EU stack, set dataRegion (for example EU) consistently in App Studio config or in initialize() so the SDK talks to the correct endpoints.
Still having issues?For issues related to Iterable’s own configuration, permissions, or platform-specific behavior outside of Median, refer to the Iterable integration documentation.
Last modified on December 3, 2026