Skip to content

Commit de5d1d0

Browse files
committed
Update nodeModulesPath to use @srcpush/react-native-code-push
1 parent 1e48a30 commit de5d1d0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

android/codepush.gradle

Lines changed: 3 additions & 3 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}/@srcpush/react-native-code-push"
7373
} else {
74-
nodeModulesPath = findNodeModulePath(projectDir, "react-native-code-push")
74+
nodeModulesPath = findNodeModulePath(projectDir, "@srcpush/react-native-code-push")
7575
}
7676

7777
def targetName = variant.name.capitalize()
@@ -95,7 +95,7 @@ gradle.projectsEvaluated {
9595

9696
// mitigates Resource and asset merger: Duplicate resources error
9797
project.delete(files("${jsBundleDir}"))
98-
98+
9999
jsBundleDir.mkdirs()
100100
resourcesDir.mkdirs()
101101

0 commit comments

Comments
 (0)