initializeApp

fun initializeApp(context: Context, sdkKey: String)

Initializes the application and creates a dependency injection tree. This method within the onCreate() method of your application or at least before the screen that uses the StreamLayerFragment or StreamLayerLiteFragment.

Parameters

context

Application context

sdkKey

Key for the StreamLayer SDK