sentry-cocoa icon indicating copy to clipboard operation
sentry-cocoa copied to clipboard

Make enriched Scope independent of SentryCrashIntegration

Open farfromrefug opened this issue 1 year ago • 1 comments

Platform

iOS

Environment

Production, Develop

Installed

CocoaPods

Version

8.20.0

Did it work on previous versions?

No response

Steps to Reproduce

  1. disable SentryCrashIntegration with enableCrashHandler or by removing the integration
  2. configure a scope
  3. serialize the scope => empty

Expected Result

The scope should still be augmented with all the device infos.

Actual Result

empy scope

Are you willing to submit a PR?

could be but not sure about the wanted refactor

farfromrefug avatar Feb 29 '24 20:02 farfromrefug

Hello @farfromrefug thanks for reaching out. You have a good point and we should separate scope information gathering from the crash integration.

brustolin avatar Mar 01 '24 08:03 brustolin