Trying to migrate a Wear app to Wear Compose Navig...
# compose-wear
t
Trying to migrate a Wear app to Wear Compose Navigation but facing
java.lang.IllegalArgumentException: CreationExtras must have a value by SAVED_STATE_REGISTRY_OWNER_KEY
I have all deps to the latest version and use Compose 1.7 with a recent snapshot. I'm completely lost at figuring out how to debug this.
So it seems it's tied to horologist volume viewmodel. When debugging the hilt is first called with the extra filled. Then called again with empty extra causing the crash :(
y
Do you have a repro? Are you using ComponentActivity?
t
I am, I found the cause it is ultra strange, it was because of a missing other dependency. I have no idea why the hilt creation was triggered again without extra instead of crashing or anything else that could have happened.
So it's a user issue, but WTF the result, I nearly lost my hairs on this one.