Overview
Push Notifications is a cross-platform push notification SDK for Android, iOS, React Native, and Flutter. It lets you send targeted, rich push notifications to your users, managed directly from the AppsOnAir portal, with minimal code changes to your app.
Beta Release
Push Notifications is currently in Beta. APIs may change without notice. Pin the exact version in your project. Not recommended for production use.
🚀 Key Features
| Feature | Description |
|---|---|
| Rich Notifications | Send images, action buttons, and custom sounds |
| User Targeting | Target by user ID, tags, language, aliases, or email |
| Opt-in / Opt-out | Respect user consent without revoking OS permissions |
| Tags & Segments | Segment users with key-value tags for personalised delivery |
| Language Targeting | Override device locale for server-side localisation |
| Lifecycle Callbacks | Hooks for received, opened, token updated, and error events |
| Test Device | Flag specific devices for QA without a separate build |
| Foreground Display Control | Show or suppress notifications while app is in foreground |
| Click & Action Buttons | Handle notification taps and action button events |
| Silent Push | Deliver background data to the app without showing a notification |
🌐 Supported Platforms
| Platform | Min Version | Package Manager | Version |
|---|---|---|---|
| Android | API 24 (Android 7.0) | JitPack | 1.0.6-beta |
| iOS | iOS 15.0 | SPM / CocoaPods | 1.0.6-beta |
| React Native | RN 0.71+ | npm | 1.0.5-beta |
| Flutter | Flutter 3.16.0 | pub.dev | 1.0.4-beta |
🔄 How It Works
- Set up Push Configuration: add FCM/APNs credentials from the AppsOnAir web portal.
- Integrate the SDK into your Android, iOS, React Native, or Flutter app.
- Configure your App ID from the AppsOnAir portal.
- SDK registers the device and syncs the push token automatically.
- Send notifications from the AppsOnAir portal or the REST API. The SDK handles delivery, display, and tap routing.
- React to events via listener callbacks in your app.
🛠️ Get Started
Step 1: Configure the console (required for all platforms):
- Push Configuration: Add FCM/APNs credentials, get API keys, send notifications from the dashboard
Step 2: Integrate the SDK for your platform:
Step 3: Send notifications, from either:
- AppsOnAir portal: compose and send from the dashboard. No code needed.
- REST API: send from your backend with
POST /v1/send-jobs.
Start simplifying your app with Push Notifications by AppsOnAir. For more information, visit the AppsOnAir.
Also, check out the AppsOnAir mobile app for a more interactive experience:
