openHealthConnectInstallation method

Future<void> openHealthConnectInstallation()

Opens Health Connect installation

Use if checkHealthConnectAvailability() returns updateRequired and you want the user to install it.

Implementation

Future<void> openHealthConnectInstallation() async {
  if (!Platform.isAndroid) {
    return;
  }

  await NativeSDKBridgeV3.openHealthConnectInstallation(
    connectionId: connectionId,
  );
}