Skip to main content
iOS RUM SDK automatically generates events with relevant metrics and attributes. Each RUM event includes default attributes (such as view.url, device.type, geo.country) as well as event-specific metrics and attributes (such as view.time_spent, resource.method).

App Startup Metrics

During app startup, the iOS SDK automatically records app startup time and creates corresponding views.
Startup time measures the time interval from process start to the first applicationDidBecomeActive notification.

View Monitoring

In iOS apps, views are automatically created when users visit different screens. Views start recording when users open a screen and stop when the view is no longer visible.
View Lifecycle Management:
  • Views don’t end immediately when stopped, but remain in inactive state for a period
  • If a new view starts during this period, the previous view will completely end
  • If no new view starts, the previous view will resume to active state
Background Behavior:
  • When app enters background, SDK retains the last active view and monitors background events
  • Background time is not counted toward the active view’s time_spent metric
  • If user returns to app immediately, SDK resumes the original time_spent measurement

Default Attributes

iOS RUM SDK automatically attaches default attributes to all events, helping you understand user devices, network status, and app context.
The following device-related attributes are automatically attached to all events:
The following OS-related attributes are automatically attached to all events:
The following network-related attributes are automatically attached to resource and error events:
The following attributes relate to IP address geo-location:
Geo-location information is inferred by Flashcat backend based on client IP address. Precise GPS location is not collected on the client.
You can enable user tracking on all RUM events to correlate user sessions and simplify troubleshooting.
User attributes are optional but we recommend providing at least one. See Track User Information.
Only the standard user fields above are supported. Other user attributes are not supported. If needed, configure them under context.

Event-Specific Attributes

Different event types have specific attributes and metrics.

Data Storage

Before data is uploaded to Flashcat, it is stored in plaintext in the app’s cache directory.
Security Protection:
  • Cache folder is protected by iOS app sandbox
  • Other apps cannot read this data
Security Notes:
  • If device is jailbroken, stored data may become readable
  • Sensitive data should not be included in RUM events, or should be obfuscated or filtered via Event Mapper before sending

SDK Integration

Learn how to integrate the iOS SDK

Advanced Configuration

Configure custom attributes, sampling, and event filtering

Insights

View and analyze collected RUM data