Foren

AppDelegate and SessionContext

thumbnail
Salva Tejero, geändert vor 7 Jahren.

AppDelegate and SessionContext

Junior Member Beiträge: 77 Beitrittsdatum: 13.06.11 Neueste Beiträge
Hi,

I want to add a condition in AppDelegate if the user is logged. In the method didFinishWithOptions
I code
if SessionContext.isLogged{
}

And it always is false. Is any way to check this?

On the other hand, I want to create a new Screenlet to show Group Logo very similar to UserPortrait, is it interesting?

Regards
thumbnail
Jose M. Navarro, geändert vor 7 Jahren.

RE: AppDelegate and SessionContext

Regular Member Beiträge: 138 Beitrittsdatum: 24.01.14 Neueste Beiträge
Salva Tejero:
Hi,

I want to add a condition in AppDelegate if the user is logged. In the method didFinishWithOptions
I code
if SessionContext.isLogged{
}

And it always is false. Is any way to check this?


Yes, the session is not created automatically for you.
If there are credentials stored, you can retrieve and create the session with them using SessionContext.loadStoredCredentials().

Salva Tejero:

On the other hand, I want to create a new Screenlet to show Group Logo very similar to UserPortrait, is it interesting?


Of course! If you want to contribute it and need help for that, just let us know!