The official Airship React Native module for iOS and Android.
Install the package:
npm install @ua/react-native-airship --save
or
yarn add @ua/react-native-airship
Apps using Expo can use the airship-expo-plugin to configure the project. You will need to use expo prebuild (custom dev client) or eas build since this package contains native code.
First, install the plugin and the main package:
expo install airship-expo-plugin
yarn add @ua/react-native-airship
Then, add the plugin to your app.json:
"plugins": [
[
"airship-expo-plugin",
{
"android": {
"icon": "./path/to/ic_notification.png"
},
"ios": {
"mode": "development"
}
}
]
]
Known Issues
launchMode to launcher in your app.json for expo-dev-client. See issue #550 for more details."plugins": [
[
"expo-dev-client",
{
"ios": { "launchMode": "launcher" },
"android": { "launchMode": "launcher" }
}
]
]
Initialize Airship in your App.tsx:
import { useEffect } from 'react';
import Airship from '@ua/react-native-airship';
export default function App() {
useEffect(() => {
const takeOff = async () => {
try {
await Airship.takeOff({
default: {
appKey: "YOUR_APP_KEY",
appSecret: "YOUR_APP_SECRET"
},
});
await Airship.push.enableUserNotifications();
} catch (error) {
console.error("Failed to take off:", error);
}
};
takeOff();
}, []);
// ... your app code
}
For a more detailed setup guide, please see the full Getting Started Documentation.
| Airship RN Version | Airship SDK Version | Supported RN Versions | Support Status |
|---|---|---|---|
| 26.x | 20.x | 0.82.x – 0.83.x | Active |
| 25.x | 19.x | 0.81.x – 0.82.x | Maintenance (Until Jun 8, 2026) |
| 24.x | 19.x | 0.79.x – 0.80.x | Maintenance (Until Feb 21, 2026) |
| 23.x | 19.x | 0.78.x | Unsupported |
| 21.x | 19.x | 0.70.x – 0.77.x | Unsupported |
Table last updated: December 8, 2025
Airship adheres to Semantic Versioning and the React Native Support Policy.
Active versions are major releases of the Airship React Native Module that are currently in active development. These versions receive new features, bug fixes, and support for the React Native versions listed in the table above.
More than one major version may be Active at the same time when each targets a different React Native version range.
A new major version of the Airship React Native Module will be released if:
A major version enters a 6-month Maintenance window when either:
End of Cycle or Unsupported in the official React Native policy.Unsupported versions are releases that have passed their Maintenance window. No updates or support are provided for these versions.