google / automotive-design-compose

Automotive Design for Compose is an extension to Jetpack Compose that allows every screen, component, and overlay of your Android App to be defined in Figma, and lets you see the latest changes to your Figma design in your app, immediately!
https://google.github.io/automotive-design-compose/
Apache License 2.0
101 stars 14 forks source link

Error with colors and plugin #1034

Closed MarcFerrerVWGS closed 2 weeks ago

MarcFerrerVWGS commented 3 weeks ago

After getting the last update from live update and fetching the document we are having an error about the colors and it shutdowns the application. We didn't update the version of the design compose so the only thing remains is maybe something regarding the plugin and the new version. The previous versions works all fine. So this error is from one day to another and we don't change anything on figma document. This is the error we are getting: image

iamralpht commented 2 weeks ago

This looks like a duplicate of #1035 which we just merged a fix for and released 0.26.1 with the fix. We think this is a temporary regression in Figma's API responses, so with our fix, DesignCompose won't cause a crash (some errors will be logged) but gradient backgrounds might be missing. We noticed that editing the gradient in Figma causes the API to report all of the color values again.