Developers
Push notification SDKs and an API, with one set of calls.
Sending through OneSignal today? Your scheduler keeps its code: change a URL, a key and an app ID. The Android, iOS and Flutter SDKs share one set of method names, the web SDK follows the same model, and email goes out from the same message. Your servers get a REST API with per-app keys.
You need a project ID to run any of this. We set up a dedicated account for each team during early access, and a person reads every request.
oricato · stack
- AndroidKotlin · minSdk 21
- iOSSwift Package · iOS 13+
- Flutter3.27+ · Dart 3.6+
- Webservice worker · VAPID
- Emailyour sending domain · SPF · DKIM · DMARC
- ServerREST · JSON over HTTPS
Mobile SDKsversion 1.0.1
01 · Initialize
One call per app start. The same name on Android, iOS and Flutter.
initialize registers the device or browser with your account and reports its time zone, language and notification permission. It is safe to call on every start. Pick a tab to see it in your stack.
<ORICATO_PROJECT_ID> and <ORICATO_API_ADDRESS> are on your project's settings page in the dashboard, under "Add Oricato to your app".
Kotlin
class App : Application() {
override fun onCreate() {
super.onCreate()
Oricato.initialize(
this,
projectId = "<ORICATO_PROJECT_ID>",
apiBaseUrl = "<ORICATO_API_ADDRESS>",
defaultSmallIcon = R.drawable.ic_stat_notification,
)
}
} Swift
FirebaseApp.configure()
Messaging.messaging().delegate = self
Oricato.initialize(projectId: "<ORICATO_PROJECT_ID>", apiBaseURL: "<ORICATO_API_ADDRESS>")
UNUserNotificationCenter.current().delegate = self
application.registerForRemoteNotifications() Dart
await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
FirebaseMessaging.onBackgroundMessage(firebaseMessagingBackgroundHandler);
await Oricato.initialize(
'<ORICATO_PROJECT_ID>',
'<ORICATO_API_ADDRESS>',
options: const OricatoInitOptions(defaultSmallIcon: 'ic_stat_notification'),
); Web
The web SDK needs a service worker file on your own origin first. Setup, step by step →
02 · Quickstart
From an empty project to a test notification on your phone.
Four steps. The dashboard's Verify setup checklist turns each one green as it happens, so you know where you are without reading logs.
- Create a project. One project per app. Your Android and iOS builds of the same app share it.
- Upload a Firebase key. Oricato sends through your app's own Firebase project. Use a dedicated service account with one role, Firebase Cloud Messaging API Admin. The key is checked with Google at once and stored encrypted.
- Add the SDK and call
initialize. Open the app on a real phone. The checklist shows the device arrive, with its time zone and language. - Send a test. One tap sends a test notification to that phone. The checklist ticks Sent, then Delivered, then Opened when you tap it.
Lingora now
It works.
Oricato is set up for Lingora.
Verify setup
- Push keyverified · project lingora-app: done
- First devicePixel 8 · Android 15 · es · Europe/Madrid: done
- Test notification SentDeliveredOpened · waiting for a tap
- Test device
Test message
It works.
Oricato is set up for Lingora.
A phone on a desk at dusk shows the test notification “It works. Oricato is set up for Lingora.” Over the photo, the Verify setup checklist: Firebase key verified, first device found (Pixel 8, Android 15, Spanish, Europe/Madrid), test notification sent and delivered, opened still waiting for a tap.
03 · Email #email
Email comes from your server, not from an SDK.
Email needs an address, and the SDKs never collect one. Your server adds each address, with the person's language and time zone and the moment they agreed. Oricato sends from a domain you authenticate. The email is part of the same message as your push, so it goes out at the same local hour, in the same language.
- Add addresses from your server. Through the REST API with a server key, or a CSV import you run from the dashboard. Each address keeps its consent record: when, and through which form or import.
- Authenticate your sending domain. Add the SPF, DKIM and DMARC records the dashboard shows for a domain such as
mail.yourapp.com. The dashboard checks each record and names the one that's missing. - One-click unsubscribe, built in. Every email carries the
List-UnsubscribeandList-Unsubscribe-Postheaders (RFC 8058) and a visible link. An unsubscribe takes effect on that click. Push settings don't change. - Bounces and complaints stop sends. An address that bounces or reports spam gets no more email from that project.
Google's sender guidelines ask bulk senders for the same three things: authentication, one-click unsubscribe and a low spam rate (Google: Email sender guidelines). Their rules, as published.
Email as a channel: fallback rules, templates and sender rules
Sending domain
lingora.example
- SPFfound
- DKIMfound
- DMARCfound (p=quarantine)
- Return pathfound
A sending-domain card for lingora.example: SPF found, DKIM found, DMARC found with policy quarantine, return path found, and a Copy DNS records button.
04 · Reference
Everything else is written down.
Each page lists every call, every limit and every error your code can see. No page assumes you read another one first.
- Android SDK
Kotlin library, receipts, channels, App Check, side by side with OneSignal
Oricato.initialize(this, …) - iOS SDK
Swift Package, no third-party dependencies, optional Notification Service Extension
Oricato.setFCMToken(token) - Flutter SDK
one plugin for Android and iOS, background isolate included
oricato_push - Web push SDK
service worker, VAPID keys, permission only after a click
service worker · VAPID - Email
addresses from your server, an authenticated sending domain, one-click unsubscribe
SPF · DKIM · DMARC - REST API
create, schedule, read, list and cancel messages; estimate an audience
POST /api/v1/messages - OneSignal-compatible endpoint
the common create-notification fields, OneSignal's response shapes
POST /api/v1/notifications - Migrate from OneSignal
the dual-SDK release, cut-over and rollback
- onesignal.com / + your account - Changelog
every change, with the date it shipped
05 · Concepts
The words the docs use.
The dashboard uses the same words, so what you read here is what your team sees on screen.
- Project and project ID
- One project per app. The project ID is a UUID shown in the dashboard. It is public, like an app ID.
- Subscriber
- One app on one device, or one site in one browser. The SDK creates a subscription ID on first start and keeps it in storage the device never backs up, so a restored phone becomes a new subscriber instead of a duplicate.
- Channel
- Mobile push, web push or email. One message carries the content; each channel renders it in its own form.
- Time-zone group
- A local-time message is split into groups of time zones that reach your chosen hour at the same moment, about 40 for a whole-world audience. Each group goes out when its clock gets there, daylight saving time and half-hour zones included.
- Sent, Delivered, Opened
- Sent: Firebase accepted the message. Delivered: the app on the device confirmed it arrived. Opened: someone tapped it. You choose whether every device, one in ten, or none reports deliveries.
- Payload keys (
fx_*) - Every Oricato push carries a few keys that start with
fx_: message, project and subscription IDs, a receipt key, the link, the image and your extra data. The SDKs act only on pushes that carryfx_idandfx_v, and hand everything else to your code untouched. - API key
- A per-app key for your servers. Shown once, stored hashed, revocable in seconds, with a daily message quota you set.
- Daily limit per person
- No one gets more than this many notifications from one app on one local day. Five by default. A schedule that would break it is refused, so a runaway script cannot flood your audience.
- Test device
- A phone you named in the dashboard. Send to test devices first, from the dashboard or from your scheduler.
06 · Limits
The numbers to design around.
These are hard limits in the API. Hit one and you get a plain error with the field and the limit, never a silent drop.
4,000 bytes
the largest message per language on Android. Firebase allows 4,096; the rest is headroom.
3,800 bytes
the same on iOS, because Firebase adds its own keys to every Apple push.
60 languages
translations in one message, each with a title, a body and an iOS subtitle.
50 tags
per subscriber. Keys up to 64 characters, values up to 256.
28 days
the longest a message may wait for a device. Local-time messages expire after 4 hours by default.
500 a day
messages each API key may create by default. Set anything from 1 to 100,000 per key.
20 a second
requests per API key, with bursts of 40. Creating messages: 5 a second.
5 slots
daily Autopilot times per app, each at every subscriber's own local time.
Devices call their own SDK endpoints, which are limited per network and per app. The SDKs back off and retry by themselves when asked to.
Oricato Intelligence · Early access
No new send code when Intelligence arrives.
Designed and in development. No results yet.
Oricato Intelligence (early access) tests send times and content against a holdout group and reports the difference in active days. It runs on the messages you already send through Autopilot, so your server code does not change. It needs one SDK update later: an on-device count of app opens that a notification did not start, plus a consent switch your app sets. In the EEA and the UK that switch is off until your app asks.
- Under 50,000 subscribers: one tested send time per slot, chosen by a planned test.
- Above 50,000: per-person times, only after a built-in check shows they beat the group time.
- Across a studio's apps: results pooled within your own organization, never across customers.
- Designed and in development. No results yet.
- SDKactivity count + consent
- your accountnightly statistics (code, no AI)
- readoutactive days vs 10% holdout
Three boxes in a row: the SDK sends an activity count and a consent flag; your account runs nightly statistics in plain code, no AI; the readout compares active days against a 10% holdout.
Support
Ask the docs, or ask a person.
Every docs page has an Ask button. It opens an AI assistant that answers only from Oricato's published docs and guides, with links to the pages it used. It can be wrong, and it never asks for your API keys. When you'd rather talk to someone, "Talk to a human" opens a ticket that reaches [email protected].
AI assistant. Answers from Oricato's docs and guides, with links. It can be wrong; talk to a human any time.
A docs page with a closed Ask button in its corner, and the opened assistant panel: a label saying it is an AI assistant that answers from Oricato's docs and guides and can be wrong, the question “Why does Verify setup say my device uses another Firebase project?”, and an answer that links to the quickstart's Firebase key step.