generateSdkVersions function

void generateSdkVersions(
  1. Context context
)

Implementation

void generateSdkVersions(Context context) {
  final String manifestFileData = common.readFile(context.androidManifestPath);
  final Map sdkVersionsMap = common.fetchSdks(context);

  final String updatedManifestData = setSdkVersions(
      context, manifestFileData, sdkVersionsMap);

  common.overwriteFile(context.androidManifestPath, updatedManifestData);
}