Skip to main content

Runtime Configuration​

FSRuntimeConfig reads and updates settings that can be changed at runtime and persist across sessions, overriding the values configured at build time. FSBuildConfig reads the settings as configured at build time, ignoring runtime overrides.

FSRuntimeConfig.edit applies the changes made in its block and returns true if a change caused the current session to shut down and restart. The editor supports:

MethodEffect
previewMode(enable: Boolean)Enables or disables Preview Mode. Changing this value starts a new session.
reset()Reverts all runtime configuration to the build-time values.

SDK Version​

fsSdkVersion is the version of the platform Fullstory capture SDK, or null if there is no capture SDK on the platform. This is not the version of the Fullstory CMP fork or API libraries.