onMandatoryUpdate property

MandatoryUpdateCallback? onMandatoryUpdate
final

Optional callback fired when a mandatory code-push bundle has been staged and is awaiting application on the next cold launch. Use it to prompt the user to restart so the required update takes effect. The SDK also exposes Koolbase.codePush.hasMandatoryUpdate for polling.

Implementation

final MandatoryUpdateCallback? onMandatoryUpdate;