Early access · launching soon. Request access

Early access

Early access · launching soon
Product
IntelligenceEarly access. Designed and in development. No results yet. See what's left on the roadmap.
Developers
Resources
Request access

A person reads every request.

Developers · SDKs

Push notification SDKs for Android, iOS, Flutter and the web.

Most push SDKs name things their own way, so a team shipping to phones and browsers ends up learning several APIs. Learn these calls once. On Android, iOS and Flutter, initialize, setLanguage, setExternalUserId, setTags, trackEvent and onNotificationOpened mean the same thing. The web SDK follows the same model in the browser: start it, ask for permission after a click, set the language and your own IDs.

Each SDK page lists its requirements, every call, and what the SDK does on its own.

  • 01

    Android
    • Kotlin
    • minSdk 21
    • firebase-messaging 24+
  • 02

    iOS
    • Swift Package
    • iOS 13+
    • no third-party dependencies
  • 03

    Flutter
    • Flutter 3.27+
    • Dart 3.6+
    • Android and iOS
  • 04

    Web
    • service worker
    • VAPID
    • permission after a click

01 · One surface

The same calls in Kotlin, Swift and Dart.

The table shows what each call does. Platform-specific helpers, such as the Android messaging service or the iOS notification extension, live on each platform's page.

CallWhat it does
initialize(projectId, apiBaseUrl)Starts the SDK. Safe on every start. Creates or loads the subscription ID and registers the device.
setLanguage(code)The language your app shows. Oricato picks each message's translation from it. Pass nothing to follow the app's locale again.
setExternalUserId(id)Your own pseudonymous user ID, so your servers can target a person. Never an email address or a phone number.
setTags(map)Merges key-value tags for filtering, such as level: b1. An empty value removes a key. Up to 50.
optIn() / optOut()An app-level switch for receiving notifications, separate from the system permission.
trackEvent(name)Records a conversion, such as lesson_completed. The server links it to a recent open.
onNotificationOpened(handler)Called when someone taps an Oricato notification, with the message ID, title, body, link and your extra data. A tap that launched the app is kept until you register the handler.
onForegroundNotification(handler)Called when a notification arrives while the app is open. Return false to hide it.
requestPermission() / getPermissionStatus()Asks for, or reads, the system notification permission.
setLaunchUrlsAutoOpen(bool)Whether a tap opens the message's link by itself. On by default.
setAppCheckTokenProvider(provider)Supplies Firebase App Check tokens when your project checks them.
getSubscriptionId()This installation's ID, which you can search for in the dashboard.
setLogLevel(level)From none to verbose. The SDKs never log secrets.

Names checked against SDK 1.0.1 on all three. The web SDK follows the same model; its page shows the browser setup in illustrative code.

02 · Built in

The parts you'd otherwise write yourself.

  • Registers only when something changed. On start, on resume, and when the token, permission, time zone or locale changes. Otherwise at most once an hour.
  • Reports the real time zone and language. The IANA time zone from the operating system and the language your UI shows, so local-time sends and translations work without extra code.
  • Never sends the same receipt twice. Opens are always reported. Deliveries are reported by the devices your project samples (all, one in ten, or none). Each device remembers what it already sent.
  • Queues and retries. Events wait in a stored queue and go out in batches, with exponential backoff, jitter, and respect for Retry-After.
  • Leaves other pushes alone. The SDKs act only on Oricato pushes and pass every other message to your code untouched.
  • Starts fresh on a restored device. State lives in storage that is never backed up, so a restored or copied phone becomes a new subscriber instead of a duplicate.
Fig. 01What the SDK sends, and when
  1. 01 app start initialize
  2. 02 upsert only if something changed
  3. 03 push arrives fx_id · fx_v
  4. 04 delivered if this device is sampled
  5. 05 tap onNotificationOpened
  6. 06 opened always reported
  7. 07 trackEvent lesson_completed
  8. 08 conversion linked to a recent open

A sequence from app start to conversion. The device starts the SDK and sends an upsert only when something changed. A push arrives with fx_id and fx_v; a sampled device reports delivered. A tap calls onNotificationOpened and reports opened. trackEvent records a conversion that the server links to a recent open. Between the device and your account, a stored queue sends events in batches of up to 100, with backoff and jitter.

03 · Reference

One page per platform.

Fig. 02One page per platform
  • Android

    Kotlin library. Your own FirebaseMessagingService or ours, notification channels from the dashboard, images, "Shown by Android" mode.

    Gradle dependency + google-services.json

    Android SDK reference
  • iOS

    Swift Package with no third-party dependencies. The optional Notification Service Extension adds images and receipts and needs no App Group.

    Swift Package + optional service extension

    iOS SDK reference
  • Flutter

    One plugin for Android and iOS, built on firebase_messaging, with hooks for apps that already own message handling.

    one pub package

    Flutter SDK reference
  • Web

    A service worker on your origin, VAPID keys per project, and permission asked only after a click.

    one script + a service worker file at your site root

    Web SDK reference

04 · Side by side

Ship both SDKs in one release, then remove the old one.

The Oricato and OneSignal SDKs take different paths for their pushes and never touch each other's messages. You can ship one app version with both, move sending to Oricato, and remove OneSignal in a later release.

  • Android: checked against the OneSignal 5.9.9 Android SDK.
  • iOS: keep your notification delegate; one Notification Service Extension can serve both systems.
  • Flutter: keep onesignal_flutter next to oricato_push; let one SDK ask for permission.

The full migration referenceGet a migration plan

Fig. 03Both SDKs, then one · Diagram
  1. Release N

    OneSignal SDK

    today

  2. Release N+1

    OneSignal SDKOricato SDK

    sending moves to Oricato

    Never send one message from both.

  3. Release N+2

    Oricato SDK

    OneSignal removed

Three app releases: release N ships the OneSignal SDK; release N+1 ships both SDKs and sending moves to Oricato; release N+2 ships only the Oricato SDK. Never send one message from both.

Oricato Intelligence Early accessDesigned and in development. No results yet. See what's left on the roadmap.

One SDK update, later.

Designed and in development. No results yet.

Intelligence is designed to find out which send times bring people back to your app. For apps under 50,000 subscribers it runs one tested send time per Autopilot slot. Per-person times switch on only above 50,000 subscribers, and only after a built-in check shows they beat the group time. A studio's apps can be pooled, inside your own organization. A holdout group keeps today's behavior, and the readout compares active days per subscriber, not opens. To count active days, the mobile SDKs get two additions in a later release: an on-device count of app opens that a notification did not start, and a consent switch your app sets.

  • The count rides inside the registration the SDK already sends, so there is no new request.
  • In the EEA and the UK it stays off until your app asks for consent.
  • Without the update, everything on this page works as it does today.

How Intelligence learnsIntelligence and privacy

Fig. 04What the later SDK update adds Early accessDesigned and in development. No results yet. See what's left on the roadmap.

POST registration · already sent on start

  • token
  • timezone
  • language
  • app_version
  • app opens not started by a notification · a countPlanned
  • activity consent · on / offPlanned

The registration request the SDK already sends, with its fields token, timezone, language and app_version, and two planned rows: a count of app opens not started by a notification, and an activity consent switch, on or off.

Not yet

What we don't have.

No React Native SDK, no Unity SDK, and no support for phones without Google Play services. If you build with React Native, you can still register FCM tokens yourself and send through the REST API.

Tell us which platform you need on the request form. It decides what we build next.

Fig. 05What we don't have
  • React Nativenot yetregister FCM tokens yourself + REST API
  • Unitynot yet
  • Phones without Google Play servicesnot supported

Early access · launching soon

Get the SDK kit with your account.

During early access, each team gets the SDKs with its dedicated account, plus a step-by-step integration file per platform. Founding teams get theirs first, and keep a founding discount.

We use this to reply, plan your invitation and set up your account. Privacy Policy

A person reads every request.

Or get the monthly newsletter