-
-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Labels
Description
Description
MainTheadData.CollectData
is required to be for the SDK to be able to access certain functionality, i.e. scope-sync on Android, and some device data during event processing i.e.
sentry-unity/src/Sentry.Unity/UnityEventProcessor.cs
Lines 52 to 57 in fcd5e99
private void PopulateDevice(Device device) | |
{ | |
if (!MainThreadData.IsMainThread()) | |
{ | |
return; | |
} |
To guarantee that the scope sync on Android is up and running safely we moved the collection into the platform specific Configure
call
MainThreadData.CollectData(); |
With the rework to the Initialization Flow in #2227 we pulled invoking Configure
into Init
. So we can drop the collection duplication.
Metadata
Metadata
Assignees
Labels
Projects
Status
Done