DefaultConfiguration class

Default configuration for Obsly SDK Based on JavaScript SDK defaults from sdk.md

Constructors

DefaultConfiguration()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

persistSessionTimestamp bool
Si se debe persistir el timestamp de sesión entre reinicios
no setter

Constants

anonymizationBlacklistTexts → const List<String>
Default blacklist of patterns that should ALWAYS be anonymized
anonymizationWhitelistTexts → const List<String>
Default whitelist of common UI texts that should NOT be anonymized
automaticViewDetection → const bool
Enable automatic view detection on navigation When true, automatically sets the current view name on navigation events
bufferSize → const int?
bufferSize defines the maximum number of events in memory before auto-sending If null, only time-based sending is used. Recommended: 50-200 events
captureBodyOnError → const bool
Whether to automatically capture request/response bodies on HTTP errors (>=400) This overrides requestBodyWhitelist for error scenarios
captureConsole → const bool
If true, console.warn and console.error will be captured as Tags
enableCrashes → const bool
Activate or deactivate Crash events
enableDebugTools → const bool
enableLifeCycleLog → const bool
Activate or deactivate Life Cycle events
enableMetrics → const bool
Activate or deactivate Metrics events
enablePerformance → const bool
Activate or deactivate Performance events
enablePiiFiltering → const bool
Enable PII filtering for UI text capture When enabled, filters sensitive data from captured UI texts
enableRateLimit → const bool
Enable rate limiting for all events When true, rate limiting is active By default, rate limiting is disabled (false)
enableRequestLog → const bool
Activate or deactivate Request events
enableRules → const bool
Enable or disable rules engine initialization
enableScreenshotAnonymization → const bool
Enable automatic text anonymization in screenshots
enableScreenshotOnUi → const bool
If true, on each Click and Life Cycle events will be attached a screenshot
enableTagger → const bool
Activate or deactivate Tag events
enableUI → const bool
Activate or deactivate UI events
eventBatchSize → const int
Default batch size for sending events
eventFlushIntervalSeconds → const int
Automatic event flush interval in seconds
filterAccountNumbers → const bool
Enable account number filtering When enabled, bank account numbers will be replaced with ****** in UI texts
filterCardNumbers → const bool
Enable card number filtering When enabled, credit/debit card numbers will be replaced with ****** in UI texts
filterCurrencyAmounts → const bool
Enable currency amount filtering (€, $, etc.) When enabled, currency amounts will be replaced with ****** in UI texts
filterIban → const bool
Enable IBAN filtering When enabled, IBAN numbers will be replaced with ****** in UI texts
httpTimeoutSeconds → const int
Default timeout for HTTP requests in seconds
logLevel → const String
Default logging level
messengerInterval → const int
messengerInterval defines the seconds before send a events package Must be higher than 10 seconds. Default: 30 seconds
rageClickActive → const bool
Activate or deactivate Rage Click events
rageClickScreenshot → const bool
Capture screenshot on Rage Click events
rageClickScreenshotPercent → const double
The ratio of screenshots to be taken based on Rage Click events (0.0-1.0)
remoteConfigCacheDays → const int
Remote config cache duration in days
remoteConfigCacheMs → const int
Remote config cache duration in milliseconds
screenshotImageQuality → const double
Default image quality for screenshots (0.0-1.0) Lower values = smaller file sizes, higher values = better quality
sdkVersion → const String
SDK Version
sessionMaxLengthMins → const int
Duration of a session in minutes
sessionTimestampKey → const String
Key to persist session timestamp in SharedPreferences
useBasicPiiFilterPreset → const bool
Default PII filter rules - uses 'basic' preset (emails, phones, credit cards) Developers can override with custom rules or different presets Available presets: basic, banking, ecommerce, insurance, healthcare