WidgetBridgeConfig

data class WidgetBridgeConfig(val schemaVersion: Int, val directoryName: String = "widgetbridge", val iosAppGroup: String? = null, val keepPrevious: Int = 1)(source)

Constructors

Link copied to clipboard
constructor(schemaVersion: Int, directoryName: String = "widgetbridge", iosAppGroup: String? = null, keepPrevious: Int = 1)

Properties

Link copied to clipboard

Folder under the platform root: Android <filesDir>/<name>, iOS <App Group container>/<name>.

Link copied to clipboard

iOS only, required there: group.com.example.app. Ignored on Android.

Link copied to clipboard

Generations kept besides the current one, for fallback after a corrupt write.

Link copied to clipboard

Bump when the payload shape changes incompatibly; readers on both platforms refuse other versions.