Skip to content
Menu

Overview

Introduction

Markdown version

What the Herald mobile SDK does and how it works with Herald decisions.

The Herald SDK is a library for iOS and Android apps. It collects first-party data from your app, registers devices for push notifications, and shows content cards and in-app messages.

If you want to…Start here
iOS developer: add the SDK, identify users and register for pushQuickstart: iOS
Android developer: add the SDK, identify users and register for pushQuickstart: Android
Backend developer: send users and events, ask for a decision or export resultsServer API
Backend developer: send a message from your backendSend API
Marketer: write content cards and in-app messagesCreate cards and Create in-app messages
Marketer: see how Herald picks and checks each sendHow delivery works
Admin: verify users and handle deletion requestsSecurity and identity verification and User data deletion
Admin: connect your other toolsIntegrations overview

How it fits with Herald

Herald decides which message each user gets, on which channel and at what time, and learns from the result. The SDK is how those decisions reach your mobile app, and how your app reports back what users did.

  • Data in. The SDK sends events, user attributes and device data to Herald. That data feeds the user profile each decision is based on.
  • Messages out. When Herald picks a push notification, content card or in-app message for a user, the SDK registers the device for push, fetches the user's cards and messages, and displays them.
  • Outcomes back. Impressions, clicks and dismissals are sent to Herald and linked to the decision that produced the message, so later decisions improve.

Architecture

  1. Your app calls the SDK to identify users and track events.
  2. The SDK queues that data on the device and sends it to Herald in batches.
  3. Herald stores the data, makes decisions and records which message each user should get.
  4. Delivery happens through Apple Push Notification service (APNs) and Firebase Cloud Messaging (FCM) for push, and through the in-app feed the SDK fetches for content cards and in-app messages.

Next steps

See Herald decide live →