Session Manager is null



I’m trying to use Fabric for integrating Twitter sharing in my app. But Twitter.getSessionManager() is always null, and after success login is null too. So, when I trying to use

StatusesService statusesService = Twitter.getApiClient().getStatusesService();

it crashes because TwitterCore try to get active session inside it.
What I’m doing wrong?

Twitter.getSessionManager() is null / using fabric-generated ios token

Finally, I’ve resolved the problem using TwitterSession object separately:

StatusesService statusesService = Twitter.getApiClient(activeSession).getStatusesService();

In this case it worked, but I should manage current session in my code (save, restore, etc)

closed #3