Please be sure to include as much information as possible:
Environment details
OS type and version: Android 14
Library version:
composeMapWidgets = "com.google.maps.android:maps-compose-widgets:3.1.1"
composeMapsUtils = "com.google.maps.android:maps-compose-utils:3.1.1"
composeMaps = "com.google.maps.android:maps-compose:3.1.1"
Steps to reproduce
Replace the value of com.google.android.geo.API_KEY in manifest file.
Run the app and tap the red box.
The box should transition to a second screen and turn into a yellow box spanning whole screen width.
Return back to the previous screen by swipe inwards from the left edge or by pressing back button
The yellow box transitions back to its original location and transforms into the red box.
Notice how the GoogleMap composable flashes and refreshes itself.
google.map.bug.mp4
Expectation
GoogleMap should not recompose or refresh itself when using shared elements transition in Compose
Minimal Repro
Here is the link to the minimal repro .
Github doesn't allow file size above 25Mb so I couldn't attach the project zip here.
I have also filed a ticket in Google bugtracker as well for the compose animation team to look into.
Please be sure to include as much information as possible:
Environment details
Android 14Steps to reproduce
com.google.android.geo.API_KEYin manifest file.google.map.bug.mp4
Expectation
GoogleMap should not recompose or refresh itself when using shared elements transition in Compose
Minimal Repro
Here is the link to the minimal repro.
Github doesn't allow file size above 25Mb so I couldn't attach the project zip here.
I have also filed a ticket in Google bugtracker as well for the compose animation team to look into.