Skip to content

Commit

Permalink
[android] Fix renaming in a BUCK file
Browse files Browse the repository at this point in the history
  • Loading branch information
vomchik committed Apr 8, 2021
1 parent eec2a0a commit 4ce7234
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/config/bundleIdentifiers.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,14 @@ export function bundleIdentifiers({ currentAppName, newName, currentBundleID, ne

return [
{
regex: new RegExp(`package="${currentBundleID}"`),
regex: `package="${currentBundleID}"`,
replacement: `package="${newBundleID}"`,
paths: ['android/app/BUCK', 'android/app/build.gradle', 'android/app/src/main/AndroidManifest.xml'],
paths: ['android/app/src/main/AndroidManifest.xml'],
},
{
regex: `"${currentBundleID}"`,
replacement: `"${newBundleID}"`,
paths: ['android/app/BUCK', 'android/app/_BUCK', 'android/app/build.gradle'],
},
{
regex: currentBundleID,
Expand Down

0 comments on commit 4ce7234

Please sign in to comment.