Hey Folks :wave: I'm checking if we have `SavedSta...
# compose-ios
a
Hey Folks 👋 I'm checking if we have
SavedStateHandle
support for
ViewModel
in iOS, or is it yet limited to Android side?
c
The savedstate module has had support for some KMP targets (including iOS) since v1.3.0 https://developer.android.com/jetpack/androidx/releases/savedstate#1.3.0 But I'm not sure if this is limited to the new
savedState{}
DSL or it includes
SavedStateHandle
as well. I'm guessing the former depends on the latter so it must be available. Especially since the SavedStateHandle docs show the "Common" icon against many APIs https://developer.android.com/reference/kotlin/androidx/lifecycle/SavedStateHandle
a
Seems to be tied to Compose 1.9 ?
c
That's not how I understand the release notes. My understanding is that androidx.savedstate is independent of compose. There is an additional androidx.savedstate:savedstate-compose artifact. That one has not been updated to add more targets.