Skip to content

Commit 09bcdc1

Browse files
committed
fix: modify nodeModulesPath to detect correct path for android build
1 parent ae8cb38 commit 09bcdc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android/codepush.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ gradle.projectsEvaluated {
6969

7070
def nodeModulesPath;
7171
if (project.hasProperty('nodeModulesPath')) {
72-
nodeModulesPath = "${project.nodeModulesPath}/react-native-code-push"
72+
nodeModulesPath = "${project.nodeModulesPath}/@bravemobile/react-native-code-push"
7373
} else {
74-
nodeModulesPath = findNodeModulePath(projectDir, "react-native-code-push")
74+
nodeModulesPath = findNodeModulePath(projectDir, "@bravemobile/react-native-code-push")
7575
}
7676

7777
def targetName = variant.name.capitalize()

0 commit comments

Comments
 (0)