Skip to content

AB#289456 Update session length handling in Overlay Messaging - #142

Merged
vvoicehovics merged 4 commits into
masterfrom
289456/lower-session-length-overlay
Aug 7, 2026
Merged

AB#289456 Update session length handling in Overlay Messaging #142
vvoicehovics merged 4 commits into
masterfrom
289456/lower-session-length-overlay

Conversation

@stuart-reid-commits

@stuart-reid-commits stuart-reid-commits commented Jul 15, 2026

Copy link
Copy Markdown
Contributor
  1. Add a sessionLengthMinutes overload to OptimoveConfigBuilder.enableOverlayMessaging(...) so customers can configure overlay messaging session windows down to 15 minutes, without changing the existing hours-based API.
  • OptimoveConfig.swift: added enableOverlayMessaging(sessionLengthMinutes: Int) (min 15) alongside the existing enableOverlayMessaging(sessionLengthHours: Int = 1) (unchanged, min 1). Both now funnel into an internal overlayMessagingSessionLengthMinutes: Int field.
  • OverlayMessagingSessionManager.swift: init now takes sessionLengthMinutes: Int, converting directly to seconds (* 60.0).
  • OptimoveOverlayMessaging.swift: storage/param renamed to sessionLengthMinutes: Int to match.
  • CHANGELOG.md: documented the new overload.
  1. reset overlay session when user associated

Counterpart for optimove-tech/Optimove-SDK-Android#102

@vvoicehovics
vvoicehovics merged commit 214bd1d into master Aug 7, 2026
8 checks passed
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