Skip to content

RUM-8888 Auto-stop manually tracked views on app background - #3122

Draft
barboraplasovska wants to merge 3 commits into
developfrom
bplasovska/RUM-8888/auto-stop-manual-views
Draft

RUM-8888 Auto-stop manually tracked views on app background#3122
barboraplasovska wants to merge 3 commits into
developfrom
bplasovska/RUM-8888/auto-stop-manual-views

Conversation

@barboraplasovska

Copy link
Copy Markdown
Contributor

What and why?

  • Manually tracked RUM views no longer keep running when the app backgrounds. They're now automatically stopped on background and restarted with the same identity on foreground, matching how automatic UIKit/SwiftUI views already behave. Fixes RUM-8888.
  • Adds a no-arg stopView() overload to RUMMonitorProtocol so customers can explicitly stop whatever view is currently active.
  • Adds a new trackViewsAutomaticStopOnBackground config flag (default true, opt-out) for customers who rely on the current behavior. Defaulting to true is a deliberate breaking-change decision.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)
  • Make sure each commit and the PR mention the Issue number or JIRA reference
  • Add CHANGELOG entry for user facing changes
  • Add Objective-C interface for public APIs - see our guidelines (internal)
  • Run make api-surface when adding new APIs

@barboraplasovska
barboraplasovska force-pushed the bplasovska/RUM-8888/auto-stop-manual-views branch from c563d8e to e5f1955 Compare August 6, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant