21.0.0-beta.2
·
1 commit
to main
since this release
Second beta of the 21.0.0 major release. This release requires Xcode 27, brings on-device AI to Scenes and in-app experiences, includes a broad set of Scene layout fixes, and continues tightening the public API surface. See the Migration Guide for details.
Changes
- Xcode 27 is now required to build the SDK.
- Scenes: a broad set of layout and sizing fixes across the rendering engine. Existing Scenes may lay out differently than they did in 20.x; verify your live Scenes after upgrading.
- In-App Automation: display limits are now calculated from the ledger, with retention and compaction, and a concurrency fix for shared display limits.
- Message Center: removed the user credentials and message native bridge from the public API —
MessageCenterUser, theuserproperty onMessageCenterInbox, andMessageCenterNativeBridgeExtension, along with the Objective-C equivalents (UAMessageCenterUser,UAMessageCenterInbox.getUser(), andUAMessageCenterNativeBridge). Display messages throughMessageCenterMessageVieworMessageCenterMessageContentView, which resolve web vs. native content and handle authentication. - Preference Center: the
ChannelTextFieldandErrorLabelviews and theAddChannelStateenum are nowinternal. AirshipUtilsis nowinternaland no longer part of the public API.- Feature Flags:
FeatureFlagManager.featureFlagStatusUpdatesnow emitsFeatureFlagUpdateStatusinstead ofany Sendable. - Continued to tighten the public API surface across modules (
@_spi(AirshipInternal)/internal), and Swift Package targets now use internal imports by default. - On-device AI: a new optional module,
AirshipFoundationModels, lets you wire an on-device model into the SDK and put it to work across three usages — in-app message suppression, embedded view selection, and Scene text-input inference. The framework ships inAirshipCoreand no-ops until you configure a model, so nothing changes unless you opt in. Linking the module registers Apple's on-device model on iOS 26; prompts and context stay on the device. See On-device AI for setup, context providers, and model routing. - On-device AI is gated by a new privacy manager feature,
AirshipFeature.onDeviceAI. It is included in.all, but apps that enable an explicit set of features must add it orAirship.aiwill behave as though no model were configured.