Skip to content

Commit 6e85666

Browse files
committed
Fix CodePush package instance initialization in react-native.config.js
1 parent e75108f commit 6e85666

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

react-native.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ module.exports = {
33
platforms: {
44
android: {
55
packageInstance:
6-
"new CodePush(getResources().getString(R.string.CodePushDeploymentKey), getApplicationContext(), BuildConfig.DEBUG)"
6+
"CodePush.getInstance(getResources().getString(R.string.CodePushDeploymentKey), getApplicationContext(), BuildConfig.DEBUG)",
7+
sourceDir: './android/app',
78
}
89
}
910
}

0 commit comments

Comments
 (0)