Skip to content

Commit 4c7dee3

Browse files
committed
Fix app names with specific characters issue
1 parent fb58fb9 commit 4c7dee3

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
## [0.0.2] - 05/01/2020
66

77
* Fix pub.dev warnings
8+
9+
## [0.0.3] - 05/01/2020
10+
11+
* Fix issue on app names with specific characters

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ packages:
8282
path: ".."
8383
relative: true
8484
source: path
85-
version: "0.0.1"
85+
version: "0.0.3"
8686
flutter_test:
8787
dependency: "direct dev"
8888
description: flutter

lib/src/utils/get_config.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Future<String> _loadAndroidAppName() async {
107107
try {
108108
return searchInFile(
109109
filePath: "android/app/src/main/AndroidManifest.xml",
110-
pattern: 'android:label="([A-Za-z0-9 .]*)"',
110+
pattern: 'android:label="([A-Za-z0-9 _\'.]*)',
111111
);
112112
} catch (error) {
113113
print("Error reading Manifest : $error");

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_rename_app
22
description: A package that enable to rename an entire app and ids in one command.
3-
version: 0.0.2
3+
version: 0.0.3
44
homepage: https://github.com/ThomasEcalle/flutter_rename_app
55

66
environment:

0 commit comments

Comments
 (0)