---
title: "GLANCE_OPTION_APPWIDGET_FORCE_BACKEND"
description: "Debug flags to force Glance to use either the RemoteView or RemoteCompose backends."
type: "property"
lastmod: "2026-05-20T01:13:52.490090Z"
---
## API Reference

> Source set: Android

```kotlin
@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.
