changeAndroidAppName function
Changes Android App Name
names
contains the respective subtags of the languages and the corresponding translated launcher name.
names
has to contain a "default" key for all unsupported languages.
Implementation
Future<void> changeAndroidAppName(Map<String, String> names) async {
await _deleteUnnecessaryLanguageDirectories(names.keys.toList());
names.forEach((key, value) async {
await _createNewLanguageDirectoryWithContent(key, value);
});
await _setAndroidManifestAppLabel();
}