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.
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.
- 01 app start initialize
- 02 upsert only if something changed
- 03 push arrives fx_id · fx_v
- 04 delivered if this device is sampled
- 05 tap onNotificationOpened
- 06 opened always reported
- 07 trackEvent lesson_completed
- 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.
- Android
Kotlin library. Your own
FirebaseMessagingServiceor 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_flutternext tooricato_push; let one SDK ask for permission.
-
Release N
OneSignal SDKtoday
-
Release N+1
OneSignal SDKOricato SDKsending moves to Oricato
Never send one message from both.
-
Release N+2
Oricato SDKOneSignal 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.
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.
- React Nativenot yetregister FCM tokens yourself + REST API
- Unitynot yet
- Phones without Google Play servicesnot supported
Guides
The longer reads.
- Flutter push notifications with FCM: setup that works in production
- Android push notifications: permission, channels, Doze and OEM quirks
- iOS push notifications setup: APNs key, capabilities and the service extension
- How to ask for push permission without burning your one chance
- Deep links from push notifications
- Web push notifications: browsers, Home Screen web apps on iPhone, VAPID