Conversation
SDK 21 removes CocoaPods support upstream on iOS, so this proxy's own podspec can no longer be published either way - the two changes ship together as one major version rather than as back-to-back breaking releases. - Bump Android/iOS Airship dependency to 21.0.1; migrate Long/Date timestamps to Instant and durations to Duration where the SDK's public API changed type. - Fix a latent unit bug in InAppProxy.setDisplayInterval on Android: the pre-21 SDK property was seconds-typed, but the proxy forwarded its "milliseconds" parameter unconverted. Now correctly treated as milliseconds end-to-end, matching the documented cross-platform contract. - Add `@_spi(AirshipInternal)` to imports in ~21 iOS files that use APIs (AirshipLogger, AppStateTracker, AirshipErrors, etc.) SDK 21 moved behind that boundary as part of its internal/public API cleanup - not called out individually in the migration guide. - Delete AirshipFrameworkProxy.podspec; remove CocoaPods steps from CI/release; update version-bump scripts to read/write Package.swift and libs.versions.toml instead of the podspec. - Bump CI/release to Xcode 27 / macos-26-xlarge (SDK 21 requires Xcode 27); this should be re-verified against GitHub's actual hosted-runner image before merging. Downstream consumers (react-native-airship, cordova-airship, airship-flutter, capacitor-airship) still depend on this proxy via CocoaPods and will need their own follow-up migration once they pick up 16.0.0. AI context wiring for SDK 21's new on-device AirshipAI feature is intentionally out of scope for this release - tracked separately. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Long/Datetimestamps toInstantand durations toDurationwhere the SDK's public API changed type, and fixes a latent unit bug inInAppProxy.setDisplayIntervalon Android uncovered along the way (the pre-21 SDK property was seconds-typed but the proxy forwarded its "milliseconds" input unconverted).AirshipFrameworkProxy.podspec, strips thepod lib lint/pod trunk pushsteps from CI and release, and updates the version-bump scripts to read/writePackage.swift/libs.versions.tomlinstead. This isn't optional — Airship's iOS SDK 21 removed CocoaPods support upstream, so this proxy can no longer publish a podspec either.@_spi(AirshipInternal)to imports in ~21 iOS files that use APIs (AirshipLogger,AppStateTracker,AirshipErrors,AirshipSceneManager,AirshipMainActorCancellableBlock) that SDK 21 moved behind that boundary as part of its internal/public API cleanup — these weren't individually called out in the official migration guide, only discovered by building against 21.macos-26-xlarge(SDK 21 requires Xcode 27).Out of scope, flagged for follow-up:
AirshipAIfeature is intentionally not part of this release.Test plan
cd android && ./gradlew assembleDebug testDebugUnitTest— all tests passcd ios && xcodebuild ... clean buildand... testagainst Xcode 27 / iOS 21 SDK — build succeeds, all tests passmacos-26-xlarge/Xcode_27.0.appactually matches GitHub's hosted runner image before merging (couldn't verify from this environment)🤖 Generated with Claude Code