Skip to content

Extras, user and release informations not showing up when using Native SDK #84

@MaxLeb

Description

@MaxLeb

Important Details

How are you running Sentry?

  • On-Premise docker [Version xyz]
  • Saas (sentry.io)
  • Other [briefly describe your environment]

Description

We were successful in building the SDK for macOS with the crashpad integration and we have successfully configured it so when it crashes we do see the event in the dashboard.

Crash is generated as followed:

int* a = nullptr;
*a = 1;

However, it seems that we cannot get some information to show on the "event" such as the user, the release and some extras.

Here is how we use it :

sentry_value_t user = sentry_value_new_object();
sentry_value_set_by_key(user, "id", sentry_value_new_int32(123456789));
sentry_value_set_by_key(
    user, "username", sentry_value_new_string("John Doe"));
sentry_set_user(user);
sentry_set_extra(
    "bitrate", sentry_value_new_int32(g_StartupOption.bitrate));
sentry_options_set_release(options, "1.0.0");

However, we did manage to add attachments which are working well.
I hope you'll be able to enlighten us on what we are doing wrong or what we misunderstood.

What you expected to happen

We should see the release in the event as well as user info and all extras.

Metadata

Metadata

Assignees

Labels

No labels
No labels
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions