Skip to content

Commit 3acb5dc

Browse files
committed
Fix characters issues
1 parent 4c7dee3 commit 3acb5dc

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@
99
## [0.0.3] - 05/01/2020
1010

1111
* Fix issue on app names with specific characters
12+
13+
## [0.0.4] - 05/01/2020
14+
15+
* Fix characters issues

lib/src/utils/get_config.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ Future<String> _loadAndroidPackageName() async {
9595
try {
9696
return searchInFile(
9797
filePath: "android/app/src/main/AndroidManifest.xml",
98-
pattern: 'package="([a-z.]*)"',
98+
pattern: 'package="([a-z_.]*)"',
9999
);
100100
} catch (error) {
101101
print("Error reading Manifest : $error");
@@ -119,7 +119,7 @@ Future<String> _loadAndroidApplicationId() async {
119119
try {
120120
return searchInFile(
121121
filePath: "android/app/build.gradle",
122-
pattern: 'applicationId "([a-z.]*)"',
122+
pattern: 'applicationId "([a-z_.]*)"',
123123
);
124124
} catch (error) {
125125
print("Error reading build.gradle : $error");
@@ -131,7 +131,7 @@ Future<String> _loadBundleId() async {
131131
try {
132132
return searchInFile(
133133
filePath: "ios/Runner.xcodeproj/project.pbxproj",
134-
pattern: 'PRODUCT_BUNDLE_IDENTIFIER = ([a-z.]*)',
134+
pattern: 'PRODUCT_BUNDLE_IDENTIFIER = ([a-z_.]*)',
135135
);
136136
} catch (error) {
137137
print("Error reading Plist : $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.3
3+
version: 0.0.4
44
homepage: https://github.com/ThomasEcalle/flutter_rename_app
55

66
environment:

0 commit comments

Comments
 (0)