setNewBundleName function

String setNewBundleName(
  1. Context context,
  2. String manifestFileData,
  3. String currentBundleName,
  4. String desiredBundleName,
)

Implementation

String setNewBundleName(Context context, String manifestFileData,
    String currentBundleName, String desiredBundleName) {
  return manifestFileData.replaceAll(
      currentBundleName, 'android:label="${desiredBundleName}"');
}