Skip to content

Commit 60cf666

Browse files
authored
fix(android): add command not changing namespace (#8224)
1 parent 5bc07e8 commit 60cf666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/android/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export async function editProjectSettingsAndroid(config: Config): Promise<void>
9292
let gradleContent = await readFile(buildGradlePath, { encoding: 'utf-8' });
9393
gradleContent = gradleContent.replace(/applicationId "[^"]+"/, `applicationId "${appId}"`);
9494
// Update the namespace in build.gradle
95-
gradleContent = gradleContent.replace(/namespace "[^"]+"/, `namespace "${appId}"`);
95+
gradleContent = gradleContent.replace(/namespace = "[^"]+"/, `namespace = "${appId}"`);
9696

9797
await writeFile(buildGradlePath, gradleContent, { encoding: 'utf-8' });
9898

0 commit comments

Comments
 (0)