Airship React Native module 26.0.0 updates the native Airship SDKs to version 20.0, adds support for React Native 0.82+, and raises the minimum supported iOS version to 16.0.
- React Native: 0.82+ is now required.
- Native SDKs: Updated to 20.x on iOS and Android.
- Codegen: Pre-generated code is no longer shipped. Code generation now occurs at build time.
- Xcode: 26+ is now required.
- iOS Deployment Target: 16.0+ is now required.
- Java: JDK 17 is required for Android builds.
- Kotlin: Kotlin 2.2.20+ is recommended. Ensure your project's Kotlin version is compatible.
Most applications will not be affected by these changes. They only apply to applications that have implemented native extensions or customizations to the Airship SDK.
- iOS Migration Guide: Detailed guide for migrating native iOS code from Airship SDK 19.x to 20.0.
The AirshipPluginForwardDelegates class has been removed. Applications should instead use AirshipPluginExtensions to register listeners or overrides.
Most applications will not be affected by these changes. They only apply to applications that have implemented native extensions or customizations to the Airship SDK.
- Android Migration Guide: Detailed guide for migrating native Android code from Airship SDK 19.x to 20.0.
The com.urbanairship.reactnative.AirshipExtender class has been removed. Applications should instead implement com.urbanairship.android.framework.proxy.AirshipPluginExtender. The onReady method has been replaced by onAirshipReady(Context context).
The AndroidManifest.xml entry must also be updated. The previous meta-data name com.urbanairship.reactnative.AIRSHIP_EXTENDER must be replaced with com.urbanairship.plugin.extender:
<meta-data
android:name="com.urbanairship.plugin.extender"
android:value="YOUR_EXTENDER_CLASS" />The AirshipPluginForwardListeners class has been removed. Applications should instead use com.urbanairship.android.framework.proxy.AirshipPluginExtensions to register listeners or overrides.
AirshipPluginExtensions.forwardNotificationListenerAirshipPluginExtensions.onDeepLinkAirshipPluginExtensions.onShouldDisplayForegroundNotification