getsentry / getsentry/sentry-cocoa

Matching API for iOS to Android Sentry.getLastEventId and Installation ID

Open
#3,278 4 comments 0 reactions 0 assignees View on GitHub
Cocoa Errors Improvement
Dominant language
Swift
Stars
1.1k
Forks
418
Avg merge
2d 3h
Merged PRs (30d)
106

Description

### Problem Statement

In our App we have a button which allows the user to report issues.
For that, we would love to add some optional information like the installation ID and ID of last event from Sentry, so we can use that to analyse the user issues.

Solution Brainstorm
So what I would love to have:

Sentry.getInstallationId() which would return the installation DI or Sentry.getUser(), which would return a default User, with the installation ID as user id.

### Solution Brainstorm

Add an equivalent to Sentry.getInstallationId() from Android SDK, which would return the installation DI or Sentry.getUser(), which would return a default User, with the installation ID as user id.
Also add an equivalent to Sentry.getLastEventId() from Android SDK.

Related issues in Android SDK:
[https://github.com/getsentry/sentry-java/issues/2932]()
[https://github.com/getsentry/sentry-java/issues/2933]()

### Are you willing to submit a PR?

*No response*

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.