How to read this changelog: Understanding SDK changelog urgency and impact
Low
v2.30.1
Recommended if you use: Session Replays- add: [impact: performance]
turnOffSessionReplayCapture()turns session replay off for the rest of the app session. It replacesstopRecording(), now deprecated, which no longer stops only the recording in progress. - fix: [impact: performance] Session replay now stops for the rest of the app session under sustained memory pressure or when capture costs the main thread more than the configured threshold, rather than restarting on the next request.
Low
v2.30.0
Recommended if you use: URL Prompt Question Type- chore: Updated the bundled Web SDK to v2.53.0, which carries survey enhacements into this release.
- add: [impact: behavior] Added the ability to launch an in-app web browser for URL Prompt question types.
- add: Added new lifecycle event displayInAppBrowser which fires when the in-app experience is triggered.
High
v2.29.0
Recommended if you use: survey lifecycle events, or apps with multiple Activities- chore: Updated the bundled Web SDK to v2.51.0, which carries its survey and Session Replay fixes into this release.
- add: [impact: behavior] Refactor of the survey lifecycle events for better accuracy with the addition of the new surveyReturned event, the removal of surveyWillPresent, a change to when the surveyAppeared emits and the addition of the new surveyDidNotAppear event.
- add: Passing the surveyId of the previous survey when a previousSurveyReady state is returned.
- fix: [impact: performance] Memory leak fix for multiple Activities.
Low
v2.26.1
- add: Updated WebSDK to v2.46.1
- fix: Single select answer selection color for Conversational UI in Dark Mode
v2.26.0
- add: Updated WebSDK to v2.46.0
- fix: Survey sliding animation issue with text field questions under Material 1.10+
v2.25.0
- add: Updated WebSDK to v2.45.0
- add: JIT survey web view creation for improved long-term reliability
- fix: Survey text fields were covered by the keyboard in certain React Native environments
- chore: Error logging optimizations
v2.24.0
- add: Updated WebSDK to v2.44.0
- add: New function to override device light/dark mode in surveys
- fix: Ensure light/dark mode is always enabled for current activity
- fix: Certain lifecycle events are no longer reported twice
- chore: The surveyId in SprigSurveyResult is no longer optional, keeping in parity with iOS
v2.23.0
- add: Updated WebSDK to v2.43.0
- add: Survey ID provided in track callbacks via new SprigSurveyResult
- add: New PREVIOUS_SURVEY_READY state to indicate pending surveys
- add: New SURVEY_STATE_RETURNED and SURVEY_COMPLETED lifecycle events
- add: Light/dark mode support with custom CSS
- fix: Pending surveys now cause newly tracked surveys to be ignored
v2.22.0
- add: Updated WebSDK to v2.41.3
- add: Support for the new AI Follow-up question type
- add: Display Logic support
v2.21.3
- fix: Ensures the active UI context is used for surveys in multi-activity apps
- fix: Corrects a bounded memory leak during configuration
v2.21.2
- fix: Delays set for surveys had stopped working
- fix: Surveys were getting cut off in landscape mode
v2.20.0
- add: Ability to pause and unpause displaying of surveys
- add: Dismissing active surveys also dismisses any pending surveys
v2.19.6
- add: Call to configure is now thread and coroutine safe
- fix: Crash that could occur during replays with complex composite views
v2.19.4
- add: Updated WebSDK to v2.39.3
- add: Support for new Conversational Survey format
- add: Support for SURVEY_WILL_PRESENT lifecycle event
- add: Support for SURVEY_PRESENTED lifecycle event
- add: Support for SURVEY_WILL_CLOSE lifecycle event
- add: Support for SURVEY_CLOSED lifecycle event
- add: Support for SURVEY_HEIGHT lifecycle event
- fix: Removed SURVEY_DIMENSIONS lifecycle event no longer being emitted
v2.19.0
- add: Updated WebSDK to v2.37.1
- add: Support for new Rank Order question type
- add: Response piping support
- fix: Improved keyboard behavior for text input questions
- fix: Improved survey dismiss behavior under certain app state changes
- fix: Improved Android activity management for multiple app activities
v2.18.5
- add: Updated WebSDK to v2.34.0
- add: New property to add space on screen below surveys
- fix: Improved keyboard behavior for text input questions
- fix: Improved survey dismiss behavior under certain app state changes
v2.18.3
- fix: Crash that could occur during replays and device rotation
- fix: Surveys are now masked during replays
v2.18.2
- add: Made the SDK version available to host applications
- fix: Improved replay masking performance
v2.18.0
- add: Additional Sprig lifecycle events available to monitor
- add: Web views are now included in session replay recordings
- fix: Session replay attached to surveys are only uploaded after a question has been answered
- fix: Increase display size of tap gesture
- fix: Start-up performance optimizations
v2.17.6
- fix: Improve memory performance by recycling bitmaps, only start Session Replay when event tracked
v2.17.5
- fix: update SURVEY_CLOSED callback to provide initiator ‘close.click’ if dismissed by tapping out of study
v2.17.1
- fix: Prevent web sdk reset on initial load
- chore: Improved internal logging
- chore: Update web sdk to 2.30.1
v2.16.3
- add:
x-ul-package-versionheader to report mobile SDK plugin versions - fix: Add network status listener to handle disconnects
v2.16.2
- fix: reduce delay in subsequent survey presentations
- fix: hold weak reference to provided activity for improved memory management
v2.16.0
- add: Add
dismissActiveSurvey()function to dismiss any visible surveys - add: Add a
QUESTION_ANSWEREDevent that is emitted after the user answers a question - chore: Update LICENSE
v2.15.1
- fix: Load
shouldDismissOnPageChangebefore notifying listeners that the SDK is ready - fix: Resolve race condition with
shouldDismissOnPageChangewhen event is tracked before the SDK is ready - fix:
setPreviewKeywas not working because of old web sdk version - chore: Update web sdk to 2.24.4
v2.15.0
- fix: Prevent a crash if loading the bundled JS fails. Only fixes the crash on Android 26+
- add: Add support for SDK event listeners
- add: Add
setPreviewKeymethod deep linking - chore: Update the test app to allow setting the user ID and properly log the user out
v2.14.0
- add: Add a callback to
EventPayloadthat allows surveys to be suppressed - chore: Update web sdk to 2.24.0
v2.13.1
- fix: Handle multiple events being tracked with `dismissOnPageChange“ in user navigation
- chore: Update web sdk to 2.23.2
v2.13.0
- add: Add support for `dismissOnPageChange“ to not show surveys after navigation
- chore: Update web sdk to 2.21.7
v2.12.1
- fix: Prevent the SDK from crashing when running on a known bad version of Chrome
- chore: Update web sdk to 2.21.6
v2.12.0
- fix: Update the publishing action to use the correct publishing plugin
- add: Add new optional parameter to configure function
- chore: Update gradle plugin version to 7.2.0
- chore: Updated auto publishing steps in automation
- chore: Update web sdk version to 2.21.3
v2.11.0
- fix: Prevent a crash when attempting to show a second survey with an initial survey still showing
v2.10.0
- fix: Gracefully handle process death
- add: Optimizely Integration
- chore: Updated web sdk to 2.20.0
v2.8.0
- fix: Handle no callback provided on track event
- add: Support for required questions
- chore: Updated web sdk to 2.19.1
v2.6.4
- add: Support for identifyAndSetVisitorAttributes
- add: Support Other Specify and rating scale questions
- chore: Updated web sdk to 2.17.1
v2.6.3
- add: setPartnerAnonymousd, setVisitorAttributes and removeVisitorAttributes
- fix: Edge case where queued up function calls were being cleared near initialization
v2.6.1
- fix: Set webview background color to transparent
- fix: Reset webview after presenting a survey
- add: Handle device rotation
- chore: Removed coroutine dependencies