Skip to main content
About Dependencies and Package NamesFlashduty iOS SDK is fully compatible with the Datadog open-source protocol. When adding dependencies via Swift Package Manager or CocoaPods, use names like FlashcatCore and FlashcatRUM, but in code, import modules like DatadogCore and DatadogRUM. You can seamlessly leverage Datadog ecosystem documentation, examples, and best practices while enjoying Flashduty platform services.
Flashduty iOS RUM SDK provides rich advanced configuration options to help you customize data collection and context information based on business needs.
Supported Configuration Scenarios:
  • Enrich user sessions - Add custom views, actions, resources, and error information
  • Protect sensitive data - Mask personally identifiable information and sensitive data
  • Associate user sessions - Link user sessions with internal user identifiers
  • Control data volume - Optimize data collection through sampling and event filtering
  • Enhance context - Add custom attributes to data

Enrich User Sessions

Custom Views

In addition to auto-tracked views, you can manually track custom views:
Parameter Description:
  • key (String) - Unique identifier for the view, same key used for startView and stopView
  • name (String) - Name of the view
  • attributes (Dictionary) - Attributes attached to the view (optional)

Custom Actions

Track specific custom user actions:

Custom Resources

Manually track specific custom resources:

Custom Errors

Record specific errors:

Set User Information

Set user information for the current session:
Only standard user fields are supported: id, name, email, and anonymous_id. Other user attributes are not supported. If needed, configure them under context.

Event and Data Management

Clear All Data

Clear all unsent data currently stored in the SDK:

Sampling

Control the percentage of sessions that collect RUM data:
Sampled-out sessions will not collect any page views or related telemetry data.
To comply with privacy regulations like GDPR and CCPA, you can set user tracking consent state:

Global Context

Add global context attributes that will be attached to all RUM events:

Event Mappers

Use Event Mappers to modify or filter events before they are sent:
View events cannot be discarded (returning nil has no effect).

SDK Integration

Learn how to quickly integrate the RUM SDK

Data Collection

Learn about data types and attributes collected by the SDK

Compatibility

Learn about SDK compatibility requirements