Skip to content

Release and App version information not matching in App Hang events. #5529

@rodolfoBee

Description

@rodolfoBee

Platform

iOS

Environment

Production

Installed

Swift Package Manager

Version

8.51.1

Xcode Version

NA

Did it work on previous versions?

No response

Steps to Reproduce

When the SDK detects an App Hang issue, the version information in the event's context does not match the release tag. From the initial investigation by Krystof, this happens because the App Hang event is not sent but is persisted and sent at a later point in time, after the app has been updated.

Events in order.

  1. App running on vX.Y has an App Hang.
  2. The SDK detects the issue and store the event.
  3. The closes and updates to vZ.W.
  4. The user restarts the app.
  5. SDK sends the App Hang event to Sentry.

Expected Result

Event's release tag to match the app build and app version information shown in the event's context.

Actual Result

Event's release and app.build and app.version do not match.

Context shows app was on vX.Y while the release tag shows vZ.W (from the example above).

Link to original report
Previous PR that should have fixed the issue in v8.47.0
Previous issue

Redacted screenshot:
Image

Are you willing to submit a PR?

No response

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions