Since we started using predictiveBackAnimation for the Children element in Jetpack Compose, our app has started experiencing issues with the error "Key XYZ was used multiple times."
So far we have tried:
Updating the library to the beta version (3.5.0-beta01) – the release notes mention that the issue with "Key XYZ was used multiple times" should be fixed.
Using the Experimental API with ChildStack – the predictive back implementation should be more stable there.
Unfortunately, neither of these approaches helped. In Firebase, we can see a large number of crashes, and it seems that they often happen when the user sends the app to the background or brings it back to the foreground.
Unfortunately, we are not able to reproduce the issue locally while trying to debug it.
Has anyone experienced similar issues? If so, were you able to solve them while using predictive back animation?
We would appreciate any advice.
Thank you.
Since we started using predictiveBackAnimation for the Children element in Jetpack Compose, our app has started experiencing issues with the error "Key XYZ was used multiple times."
So far we have tried:
Updating the library to the beta version (3.5.0-beta01) – the release notes mention that the issue with "Key XYZ was used multiple times" should be fixed.
Using the Experimental API with ChildStack – the predictive back implementation should be more stable there.
Unfortunately, neither of these approaches helped. In Firebase, we can see a large number of crashes, and it seems that they often happen when the user sends the app to the background or brings it back to the foreground.
Unfortunately, we are not able to reproduce the issue locally while trying to debug it.
Has anyone experienced similar issues? If so, were you able to solve them while using predictive back animation?
We would appreciate any advice.
Thank you.