startFlexibleUpdate static method

Future<PlayxVersionUpdateResult<bool>> startFlexibleUpdate()

Starts Flexible update flow. In the flexible flow, the method returns one of the following values: bool : The user accepted the request to update. ActivityNotFoundError : : When the user started the update flow from background. PlayxInAppUpdateCanceledError : The user denied the request to update. PlayxInAppUpdateInfoRequestCanceledError : Checking update availability was canceled. PlayxInAppUpdateFailedError :: Something failed during the request for user confirmation. For example, the user terminates the app before responding to the request. DefaultFailureError : other errors that may occur during the update flow.

Implementation

static Future<PlayxVersionUpdateResult<bool>> startFlexibleUpdate() async {
  return PlayxVersionUpdatePlatform.instance.startFlexibleUpdate();
}