Skip to content

Commit

Permalink
Merge pull request #290 from szymonrybczak/feat/support-kotlin-templates
Browse files Browse the repository at this point in the history
feat: add support for Kotlin templates
  • Loading branch information
junedomingo authored Jan 20, 2024
2 parents 0af4926 + 0d8f39f commit 165fb9e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@ export const getAndroidUpdateFilesContentOptions = ({
from: [`"${currentName}"`],
to: `"${newName}"`,
},
{
files: [`android/app/src/main/java/${newBundleIDAsPath}/MainActivity.kt`],
from: [`= "${currentName}"`],
to: `= "${newName}"`,
},
{
files: 'android/.idea/.name',
from: currentName,
Expand Down Expand Up @@ -248,6 +253,8 @@ export const getAndroidUpdateBundleIDOptions = ({
`android/app/src/release/java/${newBundleIDAsPath}/ReactNativeFlipper.java`,
`android/app/src/main/java/${newBundleIDAsPath}/MainActivity.java`,
`android/app/src/main/java/${newBundleIDAsPath}/MainApplication.java`,
`android/app/src/main/java/${newBundleIDAsPath}/MainActivity.kt`,
`android/app/src/main/java/${newBundleIDAsPath}/MainApplication.kt`,
],
from: new RegExp(`${currentBundleID}`, 'g'),
to: newBundleID,
Expand Down

0 comments on commit 165fb9e

Please # to comment.