Automattic / Automattic-Tracks-iOS

Client library for tracking user events for later analysis
GNU General Public License v2.0
43 stars 12 forks source link

CrashLogging: New Error Logging API #274

Closed jleandroperez closed 9 months ago

jleandroperez commented 9 months ago

Details:

We'll be using Sentry to track down Sync-Errors in DayOne. While testing the main integration PR, I've noticed it was next to impossible to filter by a given event's Additional Data fields.

You can find a Sample Event Here, with the Additional Data set (but no Tags)

Since Sentry recommends using Enriched Events, which can then be filtered with the keyword has:., in this PR we're adding an extra API that allows us to set a Tag/Value pair in the event's context.

cc @jkmassel (Thanks a lot in advance!!


jleandroperez commented 9 months ago

CI seems to be failing because of a couple new warnings, unrelated to this PR. Those are being tracked in #273.

Merging this one back into Trunk. Thanks a lot Tony!!