Push notifications & in-app messages
Push notifications for the lock screen and inside your app.
Send push notifications to Android and iOS from one dashboard or one API call. Target the right people, schedule for later, and open the exact screen on tap.
- FCM + APNs
- Images & deep links
- Scheduling
- Open tracking
- In-app messages
Set up once
Connect your keys, then send.
- 1Add your credentialsUpload the Firebase service account JSON for Android and the APNs .p8 key for iOS. We check them as you save.
- 2Register devicesYour app sends its push token on launch, with the signed-in user ID and tags such as plan:pro or city:delhi.
- 3Send or scheduleWrite the title, message and image, pick an audience, and send now or at a set time. Or call the API from your backend.
$ curl https://app.codeonair.com/v1/push/messages \-H "Authorization: Bearer sk_live_…" \-H "Content-Type: application/json" \-d '{"title": "Diwali sale is live 🎉","body": "50% off on earbuds — today only","url": "https://shop.codeonair.com/diwali50","audience": { "tags": ["plan:free"] },"send": "schedule", "scheduled_at": "2026-11-01T09:00:00+05:30"}'✔ 201 Created — status: "scheduled"
Everything a campaign needs
Write it, target it, time it, and see what happened.
- Android (FCM) and iOS (APNs) from one place
- Title, message, large image and a link that opens on tap
- Custom key-value data for your app to read
- Audiences by platform, user ID or tags — with a live device count
- Send now, save a draft, or schedule up to 90 days ahead
- Send a test to your own device before everyone gets it
- Sent, failed and opened counts for every notification
- Dead tokens are cleaned up automatically, so counts stay honest
How it works
From the composer to the lock screen.
CodeOnAir doesn't replace Google's or Apple's push services: it sends through them with your own credentials, and adds audiences, scheduling, tests and results on top.
- 1
Register
When the app opens, the SDK registers the install with its push token, whether notifications are allowed, the signed-in user ID and tags such as vip or hindi.
- 2
Write
A title, a message of up to 1,000 characters, an optional image under 1 MB, a link to open on tap, and up to 20 key–value pairs your app receives.
- 3
Target
Everyone, a platform, tags (any or all of them) or your own user IDs. The composer shows how many iOS and Android devices the audience reaches now.
- 4
Send or schedule
Send now, or schedule up to 90 days ahead in your time zone. The audience is counted when sending starts, so devices that join before then are included.
- 5
Deliver
CodeOnAir hands the notification to Firebase Cloud Messaging for Android and APNs for iOS. Tokens that Google or Apple reject as expired are cleaned up.
- 6
Read the results
Targeted, delivered to the push service, failed with the reason, and opened once per device, so you can compare open rates across notifications.
In-app messages
Talk to people while they're in the app — no permission needed.
Modal, full screen, bottom sheet, top or bottom banner, card, or a single image — with your colours and up to two buttons.
On app open or after an event your app sends, such as checkout_started, with an optional delay.
Show once, every session, or at most N times with hours in between. Set start and end dates for campaigns.
Target by platform, user ID or tags, and set a priority when more than one message matches.
Open a screen with a deep link, open a web page, or just dismiss.
Impressions, clicks and dismissals, so you know which message works.
Push questions
Do I need my own Firebase or Apple account?
Yes. Notifications go out through Firebase Cloud Messaging for Android and Apple Push Notification service for iOS, using your app's own credentials: a Firebase service account JSON and an APNs .p8 key. They are stored encrypted and never shown again in the dashboard.
Who can I send a notification to?
Every device, one platform, specific signed-in users by their user ID, devices with given tags (any or all of them), or individual devices for testing. The dashboard shows how many devices an audience reaches before you send.
Can a notification open a screen in my app?
Yes. Give it a URL — an AppLink, your own URI scheme or a web page — and the tap opens it. You can also attach key-value data that your app reads when it opens.
What's the difference between a push and an in-app message?
A push reaches the phone even when the app is closed. An in-app message shows inside the app while someone is using it — on launch or after an event such as checkout_started — so it needs no notification permission.
How many notifications can I send?
10,000 a month on Free, 100,000 on Starter, 1,000,000 on Growth and 5,000,000 on Scale, counted per device the notification is handed to Google or Apple for, test sends included. Past the allowance, sending pauses until next month; in-app messages don't count and keep showing.
Can I test a notification before everyone gets it?
Yes. Send a test from the composer to one device or to every device of one user ID, and see what happened on each. Tests count towards your monthly sends.
Why did some notifications fail?
Each notification lists the reasons Google or Apple gave. The common ones: the app was uninstalled or its token expired (UNREGISTERED), the app was built with a different Firebase project than the uploaded service account (SENDER_ID_MISMATCH), or the token belongs to a different bundle ID (DeviceTokenNotForTopic).
Can a newer notification replace an older one?
Yes. Give both the same replace key and the newer one replaces the older one on the phone, which suits order status or live scores. You can also set how long a notification waits for a phone that's offline, up to the four weeks Google and Apple keep it.
Send people to the right screen: put an AppLink in any notification. Monthly push limits for each plan are on the pricing page. The React Native push SDK is coming soon to npm, next to the deep link and CodePush SDKs; you can already connect Firebase and APNs and design in-app messages (step by step in the push setup docs). Setting up FCM and APNs in a React Native app yourself? Read React Native push notifications with FCM and APNs.
Your first push in ten minutes.
Upload your Firebase and APNs keys, register a device, and send a test to your own phone.