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

Isolate call to Sentry `currentHub()`, which will be unavailable in v7.x #218

Closed mokagio closed 2 years ago

mokagio commented 2 years ago

The idea is to bypass the code relying in currentHub() for the time being, while waiting for Sentry to provide us with some guidance on how to achieve the same result without currentHub().

I'm not in love with this, but it will make the upgrade job more straightforward by not requiring to delete any code that we'd like to keep using in the future.