Docs menu
Documentation
CodeOnAir Docs: Deep Linking, CodePush & Push Notifications
Guides for AppLinks (deep links that survive the install), CodePush (over-the-air updates for React Native) and push notifications with in-app messages β from your first link or release to the REST API.
New here? Start with Getting Started β
Getting Started
AppLink
- AppLink Overview β
AppLinks are deep links that open your Android or iOS app on the right screen, send new users to the store, and survive the install (deferred deep linking).
- How AppLinks work β
How a CodeOnAir AppLink works: one link followed from the tap through previews, the store install and deferred deep linking to the right screen.
- AppLink Setup β
Set up your AppLinks URL prefix, website and iOS / Android app details, add the domain to your app, then create, test and track your first deep link.
- React Native SDK Setup β
Install the CodeOnAir deep link SDK in a React Native or Expo app: App ID, onLink handler, Universal Links, App Links and in-app link creation.
- Android SDK Setup β
Add CodeOnAir AppLinks to a native Android app in Kotlin or Java: Gradle dependency, App ID, intent filters, App Links verification and deferred links.
- iOS SDK Setup β
Add CodeOnAir AppLinks to a native iOS app in Swift or SwiftUI: Swift Package Manager or CocoaPods, App ID, Associated Domains and deferred links.
- Create links from your server β
Create, list, update and disable AppLinks from your backend with the CodeOnAir REST API β authentication, fields, paging, errors and limits.
- AppLink FAQs β
Answers to common AppLink questions: links opening the browser, Instagram and Facebook, stale previews, new domains, attribution and Firebase Dynamic Links.
CodePush
- CodePush Overview β
CodeOnAir CodePush ships JavaScript and asset updates to React Native apps over the air β no store review β with rollouts, mandatory updates and rollbacks.
- Releases, rollouts & rollbacks explained β
What happens on users' phones when you release, roll out, make mandatory, disable or roll back a CodePush update β explained with examples.
- Account Setup β
Turn on CodePush for an app in the CodeOnAir dashboard, copy the Android and iOS deployment keys and server URL, and create a CLI access key.
- Project Setup β
Add @codeonair/code-push-react-native to a React Native 0.70+ app on Android and iOS: keys, bundle loading, CodePush.sync() and install modes.
- CodeOnAir CodePush CLI β
Install and log in to the codeonair-codepush CLI, then release React Native updates, change rollouts, roll back and read release history.
- Quick Start β
Your first CodePush over-the-air update for React Native in about ten minutes: set up, install the SDK, release with the CLI and watch it install.
- Integration via CI/CD β
Release CodePush updates automatically from GitHub Actions, GitLab CI or any CI with a CODEONAIR_ACCESS_KEY secret.
- SDK API β
Reference for @codeonair/code-push-react-native: sync, checkForUpdate, install, notifyAppReady, restart state, sync options and sync statuses.
- Native apps (content updates) β
Update images, JSON, strings and web content in native Kotlin/Java and Swift apps over the air.
- CodePush FAQs β
Answers to common CodePush questions: updates not showing, target versions, what can't change over the air, store rules, crashes and plan limits.
Push & In-app
- 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.
- Set up Android and iOS push β
Connect Firebase Cloud Messaging with a service account JSON and Apple Push Notification service with a .p8 key, step by step, in Push β Setup.
- Send and schedule notifications β
Write a push notification, choose who gets it, send it now or schedule it, test it on a device, and read delivery, failure and open results.
- In-app messages β
Design pop-ups, cards, bottom sheets, banners and full-screen messages, choose when they show and to whom, and track views and clicks β no app release.
- Send push notifications from your server β
The push REST API: send or schedule a notification to users, tags or platforms with POST /v1/push/messages, then read its status and results.