sentry-kotlin-multiplatform icon indicating copy to clipboard operation
sentry-kotlin-multiplatform copied to clipboard

Manual captureException() does not capture user's email

Open remvst opened this issue 1 year ago • 3 comments

Platform

Apple

Installed

CocoaPods

Version

0.9.0

Steps to Reproduce

  1. integrate SDK
  2. call setUser() with a non-null value
  3. call captureException() to log a non-fatal error

Expected Result

User info (email/username) should be present on the issue report on the Sentry dashboard whether iOS or Android

Actual Result

  • iOS: Issue report does not contain the user info (email/username)
  • Android: Issue report does contain the user info (email/username)

Regular crashes do contain the user info, it only seems to occur for manually sent errors, and only on iOS.

remvst avatar Jan 29 '25 21:01 remvst

thanks for the report! We'll have a look

buenaflor avatar Jan 30 '25 13:01 buenaflor

Just pointing out a quick edit on my original message:

  • Android works as expected (email/username are included)
  • iOS does not work as expected (email/username are not included)

remvst avatar Feb 03 '25 16:02 remvst

Thanks for the info!

buenaflor avatar Feb 11 '25 12:02 buenaflor

I'm looking into it

buenaflor avatar May 16 '25 14:05 buenaflor

Seems to work for me in the latest version, can you check if it is still an issue?

Tested on an iOS Simulator

Image

buenaflor avatar May 16 '25 14:05 buenaflor