Authentication Screen

Built in Login Screen

If you would like to use the Chat SDK default authentication screen you should add the following to your AndroidManifest.xml:
<activity android:name="sdk.chat.ui.activities.SplashScreenActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
Or if you want to launch the activity manually, you can do it using:
ChatSDK.ui().startSplashScreenActivity(context);
This will show the splash screen activity. The app will try to authenticate. If it succeeds it will launch the MainActivity. If it fails, it will launch the LoginActivity.