Skip to content

chore: bump native SDKs to Swift 5.5.0 and Android 5.4.0 - #120

Merged
muzahidul-opti merged 1 commit into
masterfrom
feature/bump-native-sdks-3.8
Oct 13, 2026
Merged

muzahidul-opti merged 1 commit into
masterfrom
feature/bump-native-sdks-3.8

Conversation

@muzahidul-opti

Copy link
Copy Markdown
Contributor

Summary

Native SDK bump for 3.8.0, the last 3.x release before the SPM-only 4.0.0 (#119). CocoaPods and SPM both stay supported.

 ios/optimizely_flutter_sdk.podspec
-  s.dependency 'OptimizelySwiftSDK', '5.4.2'
+  s.dependency 'OptimizelySwiftSDK', '5.5.0'
 ios/optimizely_flutter_sdk/Package.swift
-  .package(url: ".../swift-sdk.git", exact: "5.4.2")
+  .package(url: ".../swift-sdk.git", exact: "5.5.0")
 android/build.gradle
-  implementation "com.optimizely.ab:android-sdk:5.3.0"
+  implementation "com.optimizely.ab:android-sdk:5.4.0"

Both native releases add Holdout Targeted Delivery Exclusion (driven by the datafile, no public API change), so iOS and Android stay in step.

  • Swift 5.5.0: changelog
  • Android 5.4.0: release, which also brings Java SDK 4.6.0 and a Jackson/R8 fix

No Dart or bridge changes.

Evidence

  • Before: Swift 5.4.2 / Android 5.3.0.
    After (local):
    check-version-drift.sh        OK: OptimizelySwiftSDK version matches (5.5.0)
    flutter analyze               No issues found!
    flutter test                  +140: All tests passed!
    example: flutter build apk    ✓ Built app-debug.apk            (android-sdk 5.4.0)
    example: flutter build ios    ✓ Built Runner.app               (SPM resolved swift-sdk 5.5.0)
    fresh app, SPM disabled:      Running pod install ... ✓ Built  (Podfile.lock: OptimizelySwiftSDK (5.5.0))
    
  • Availability: OptimizelySwiftSDK 5.5.0 is on CocoaPods trunk; android-sdk 5.4.0 is on Maven Central.
  • Local-only note: Xcode 27 rejects the example's iOS 10.0 target, so the local SPM build was done with the target raised in a scratch copy. Nothing is committed for that.

Merge Danger

Door: two-way. Revert the commit to go back to the previous pins.
Blast Radius:

  • iOS (both CocoaPods and SPM) and Android pick up the new native SDKs. Holdouts configured to exclude Targeted Delivery now behave correctly on both platforms.
  • No minimum-version changes.
  • [FSSDK-13263] chore!: remove CocoaPods support, require iOS 15 and Flutter 3.44 #119 will need a rebase after this merges: it deletes the podspec and rewrites Package.swift.
  • Release (version files + CHANGELOG) follows in a separate prepare-3.8.0 PR.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@muzahidul-opti
muzahidul-opti merged commit 0b74577 into master Oct 13, 2026
9 of 10 checks passed
@muzahidul-opti
muzahidul-opti deleted the feature/bump-native-sdks-3.8 branch October 13, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants