github urbanairship/ios-library 21.0.0-beta.2

latest release: 20.12.0
3 hours ago

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, the user property on MessageCenterInbox, and MessageCenterNativeBridgeExtension, along with the Objective-C equivalents (UAMessageCenterUser, UAMessageCenterInbox.getUser(), and UAMessageCenterNativeBridge). Display messages through MessageCenterMessageView or MessageCenterMessageContentView, which resolve web vs. native content and handle authentication.
  • Preference Center: the ChannelTextField and ErrorLabel views and the AddChannelState enum are now internal.
  • AirshipUtils is now internal and no longer part of the public API.
  • Feature Flags: FeatureFlagManager.featureFlagStatusUpdates now emits FeatureFlagUpdateStatus instead of any 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 in AirshipCore and 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 or Airship.ai will behave as though no model were configured.

Don't miss a new ios-library release

NewReleases is sending notifications on new releases.