Skip to main content
Mint Starter Kit home page
Search...
⌘K
Support
Dashboard
Dashboard
Search...
Navigation
SDK Reference
getActiveSession
Overview
iOS SDK
Expo SDK
Android SDK
Flutter SDK
Quickstart
Install
Initialize
Load your first flow
Preview mode
Core Concepts
Flows and screens
Variables and state
Actions and events
Bridge communication
SDK Reference
init
loadFlow
setUserAttributes
variables
events
getAnswers
RampKitCore.reset()
enableDebug
getActiveSession
forwardEvents
getVersion
Integration
Inject user attributes
Dynamic targeting
Navigation hooks
Offline handling
RevenueCat
A/B testing integration
Analytics forwarding
Deep linking
Server sync
Web checkout
Lifecycle management
Optimization
A/B testing
Conversion analytics
AI forecasts
Event forwarding
Developer Tools
Local preview
Live edits
Debug console
Mock attributes
Advanced
Custom variable injection
Runtime overrides
Security
Guides
RevenueCat integration
iOS setup
Migrating from native
Version control
Troubleshooting
Common errors
Debug tips
Example App
Minimal iOS Example
On this page
getActiveSession
SDK Reference
getActiveSession
Copy page
Access the active session on iOS
Copy page
getActiveSession
Copy
let
session
=
RampKit.
getActiveSession
()
Returns details about the currently active flow/session if any. Useful for debugging and conditional UI.
enableDebug
forwardEvents
⌘I