PDA

View Full Version : Can I Early Exit from Web App?



HankFay
2018-01-08, 23:16
Under certain conditions, I would like to "early exit" from a web app, either with or without a notification.


I would know this by the time I was in the app Ready delegate.


Is there a way to do so?

thanks,

Hank

barrymavin
2018-01-09, 00:33
Hi Hank,

You can:

Lianja.home()

or

Lianja.logout()

or if your app is not running under the app center (standalone)

if (!Lianja.isDevMode())
{
Lianja.openApp( "some_error_app" );
}