Skip to content

feat: [SDK-5369] add sdk_sessions_v2_api_cutover feature flag - #27

Merged
fadi-george merged 3 commits into
new-session-eventsfrom
fadi/sdk-5369
Oct 7, 2026
Merged

fadi-george merged 3 commits into
new-session-eventsfrom
fadi/sdk-5369

Conversation

@fadi-george

Copy link
Copy Markdown
Contributor

Summary

Adds FeatureFlag.SDK_SESSIONS_V2_API_CUTOVER (sdk_sessions_v2_api_cutover) to the shared catalog.

Motivation

SDK Sessions v2 is gated by a remote flag from the SDK features endpoint (ANA-2648). Android and iOS hosts read it once at session start, so it uses IMMEDIATE: a session never mixes legacy and v2 paths, and turning the flag off reaches the next session without a cold start.

Testing

Added sessionsV2ApiCutoverIsImmediate in FeatureFlagTest. :kmp:testDebugUnitTest (features) and spotlessCheck pass.

Checklist

  • I reviewed my changes.
  • I added or updated tests, or explained why they are not needed.
  • I confirmed there are no unintended public API changes.

🤖 Generated with Claude Code

fadi-george and others added 2 commits October 6, 2026 10:50
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Comment thread kmp/src/commonMain/kotlin/com/onesignal/features/FeatureFlag.kt
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@fadi-george
fadi-george changed the base branch from main to new-session-events October 7, 2026 17:04
@fadi-george
fadi-george merged commit 3a4ce04 into new-session-events Oct 7, 2026
3 checks passed
@fadi-george
fadi-george deleted the fadi/sdk-5369 branch October 7, 2026 17:08
fadi-george added a commit that referenced this pull request Oct 23, 2026
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.

3 participants