Skip to content

MainThreadData.CollectData is getting called twice #2247

@bitsandfoxes

Description

@bitsandfoxes

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.

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

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

No one assigned

    Labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions