Navigation Compose Type Safety got issue when navigate back from other app
I’m using the Navigation Compose type-safe routes feature with Kotlin serialization. My routes are defined as @Serializable objects to achieve type safety in navigation. Everything works fine until the app is backgrounded, potentially killed, and then brought back. When returning to my app after switching to another one, I get the following error:
Navigation Compose Type Safety got issue when navigate back from other app
I’m using the Navigation Compose type-safe routes feature with Kotlin serialization. My routes are defined as @Serializable objects to achieve type safety in navigation. Everything works fine until the app is backgrounded, potentially killed, and then brought back. When returning to my app after switching to another one, I get the following error: