Hello, I have the following issue with state preservation on iOS. The app fails at runtime with the error below (full trace in the thread)
kfun:kotlin.Throwable#<init>(kotlin.String?){} + 123
kfun:kotlin.Error#<init>(kotlin.String?){} + 119
kfun:kotlin.NotImplementedError#<init>(kotlin.String){} + 119
kfun:com.arkivanov.parcelize.darwin.NotImplementedCoding#objc:encodeWithCoder: + 219
when navigating from the app with some entries in the navigation stack, when the following method in
AppDelegate
is called
func application(_ application: UIApplication, shouldSaveSecureApplicationState coder: NSCoder) -> Bool {
let savedState = rootHolder!.stateKeeper.save()
CodingKt.encodeParcelable(coder, value: savedState, key: "savedState")
return true
}
I’m using Essenty 1.1.0, parcelize-darwin plugin 0.1.4.
What might be the cause of it?