Skip to content
CodeOnAir
Docs menu

Push notifications & in-app messages

Send push notifications to Android and iOS and show in-app pop-ups and banners from one dashboard — set-up, audiences, scheduling and results.

Each app in CodeOnAir has a Push section: notifications that reach the lock screen through Firebase Cloud Messaging (Android) and Apple Push Notification service (iOS), and in-app messages — pop-ups, banners and full-screen screens your app shows while it's open. Both use the same audiences: everyone, a platform, tags, or your own user IDs.

How a notification reaches a phone#

Step 1
Register
The SDK registers each install and its push token when the app opens.
Step 2
Send
You send from the dashboard or the API, now or at a time you pick.
Step 3
Deliver
CodeOnAir hands it to Google (FCM) or Apple (APNs) for every device in the audience.
Step 4
Open
A tap opens your app — or the link you set — and is counted as an open.
Push → Notifications: who you can reach right now, this month's sends, and every notification with its results.

What you need#

  1. Android: a Firebase project for your app (the one its google-services.json comes from) — see Android setup.
  2. iOS: an Apple Developer account to create an APNs key — see iOS setup.
  3. Your app: the CodeOnAir push SDK, which registers devices and shows in-app messages.
The app SDK is coming soon

Devices appear in CodeOnAir once your app runs the CodeOnAir push SDK for React Native, @codeonair/push-react-native, which registers the install, asks for notification permission, reports opens and draws in-app messages. It isn't released yet — we'll publish its setup guide here when it is. You can already connect Firebase and APNs, design messages and wire up your server.

What counts on your plan#

Push is counted in notifications sent per month — one per device delivered to Google or Apple, test sends included. Free includes 10,000 a month, Starter 100,000, Growth 1,000,000 and Scale 5,000,000. When the month's allowance is used up, sending stops until the next month (or until you upgrade); the notification shows “Your plan's monthly push limit was reached.” In-app messages don't count and keep showing.

See what you've used on the Push page (Sent this month) and in Usage.

Who can do what#

RoleCan do
Owner, AdminUpload and disconnect the Firebase and APNs credentials, remove devices — and everything below.
MemberWrite, schedule, send, test and cancel notifications; design in-app messages; see devices and results.
Stuck? Write to support@codeonair.com with your App ID and what you tried — we reply within a working day.