Compose Unstyled 2.0 is out! Check the official announcement blog ->
Property

GLANCE_OPTION_APPWIDGET_FORCE_BACKEND

Debug flags to force Glance to use either the RemoteView or RemoteCompose backends.

Source set: Android
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
public const val GLANCE_OPTION_APPWIDGET_FORCE_BACKEND: String

Debug flags to force Glance to use either the RemoteView or RemoteCompose backends. Pass in the appWidgetOptions bundle to force glance to use either remote views or remote compose. This is intended for debugging, eg, to see if a widget displays the same using both options.

Set to true to force remote views.

Last updated: