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
112 stars 16 forks source link

Control Figma UI prototype state in code #1299

Open miguel-galarza opened 3 months ago

miguel-galarza commented 3 months ago

It is currently not possible to get information about the current UI prototype state in Figma from the code side in Android. For example, it is not possible to know the current screen being displayed which blocks some use cases such as:

It is neither possible to set a prototype state to be navigated to, which blocks the following use cases:

BIN-KOUHINN commented 2 days ago

+1 On feal project. get/set about the current UI prototype state in Figma from the code side in Android is necessary. e.g. Conditional screen transition from the code