App Startup Initializers
The UI Components library relies on Jetpack App Startup Initializers to initialize certain components. These run automatically when you include the UI Components library and start your application.
In some cases, you might wish to prevent the automatic initialization, for example, to decrease your app's initial startup time. You can do this by following the Manually initialize components guide from the Android Developers documentation.
Removing the automatic initializers and not running the initializers manually will result in crashes when using the UI Components.
Specifically, you'll have to do the following:
- Disable the auto-initialization of our UI Components library, by adding the following to your Manifest:
- Do the initialization manually, before any of the Stream UI Components are used in your application.
You need to have a dependency on the App Startup library to access