Environment details
- Library: com.google.maps.android:maps-compose:6.2.0
- Navigation library: androidx.navigation:navigation-compose:2.7.7
Steps to reproduce
- Clone this repo.
- Add google api key to manifest file.
- Navigate to Map screen and then try to navigate to Map screen again.
Observation
Lifecycle observer goes to ON_DESTROY and never makes it's way to ON_RESUME, which keeps the map in "destroyed" state and it is not usable (cannot scroll, zoom or anything else).
While not using restoreState or saveState set to true the map works fine. Also when downgrading compose map library to 6.0.0 it works properly.
It might be related to already resolved issue: #112. But due to refactor in #436 it probably happens again. Not really connected to animations this time. It is probably connected to the restoreState.
Sample video of the issue.
Environment details
Steps to reproduce
Observation
Lifecycle observer goes to
ON_DESTROYand never makes it's way toON_RESUME, which keeps the map in "destroyed" state and it is not usable (cannot scroll, zoom or anything else).While not using
restoreStateorsaveStateset totruethe map works fine. Also when downgrading compose map library to6.0.0it works properly.It might be related to already resolved issue: #112. But due to refactor in #436 it probably happens again. Not really connected to animations this time. It is probably connected to the restoreState.
Sample video of the issue.