Assigned
Status Update
Comments
em...@google.com <em...@google.com>
ru...@gmail.com <ru...@gmail.com> #2
Any updates on this? It's been a month already since I reported it, and it seems this crash is occurring quite frequently for my users.
Description
One way around this, preserving the `ComponentInitializer` interface and behaviour of the `initializeComponent` method would be to include another meta-data value denoting scope, and rename the current one for clarity. For example:
```xml
<!-- Application Startup -->
<meta-data
android:name="androidx.startup.second_library.DependentComponentInitializer"
android:value="@string/androidx_app_startup" />
<!-- Activity Startup -->
<meta-data
android:name="androidx.startup.second_library.DependentComponentInitializer"
android:value="@string/androidx_activity_startup" />
```
`AppInitializer.getInstance(..).initializeComponent(..)` could work regardless of scope, and the discovery mechanism could be changed slightly to accommodate the new meta-data value.