Skip to content

Commit 2a6157b

Browse files
authored
Merge pull request #46 from john-mayacrew/master
fix: modify nodeModulesPath to detect correct path for android build
2 parents ae8cb38 + 09bcdc1 commit 2a6157b

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)