Skip to content

[EPIC] App update prompt for fixed issue #208

@kahest

Description

@kahest

Idea

If user experiences an issue in the app, that has already been fixed in a newer release of the app, the app can show an update prompt to the user.

To enable this, SDK can provide following functionality:

  • detect that a specific error it captured has already been marked as resolved in a newer app version in Sentry
  • app can hook into this (e.g. via callback provided by SDK) and present to user an update prompt or similar

Solution brainstorm

Use Sentry APIs to determine if reported issue has been fixed. Currently this would require at least 2 API calls:

  • get group id for the event (after having reported it + some time for processing?)
  • get status of the issue group via the group id

After detecting that an issue is resolve in a newer release, the SDK invokes a callback, notifying the app.

Risks/limitations/TBDs

  • does this make sense with the current API? immediate response just means event data has been stored - we don't get grouping result after event has been processed etc. AI grouping kicking in after initial grouping might also affect this. how reliable is this?
  • when/how often to perform the checks (API calls)
  • when/how often to perform the callback

Links

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Needs Discussion

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions