Android SDK v.2.0.0 / Access SubjectConfiguration userId after setting up the Tracker

I have been trying to upgrade the Android Snowplow SDK from 1.7.1 to 2.0.0.
I have a specific scenario where I might need to update the userId after the Tracker is created.
But the SubjectConfiguration class is not exposed in the TrackerControllerImpl.

As the docs suggest I instantiate the tracker in the Application class, when the app is launched.
But I need to update the userId when the user logs in or out.

How can I do that? Is there any proposed solution?

Hi @George_Kelemouridis

Thanks for the report. We’re aware of this regression and will be resolving it shortly, it’s a high priority item for us. Track its progress on GitHub.

2 Likes

That’s a relief! :grinning_face_with_smiling_eyes:
Thank you very much for your immediate response!