Skip to content

Commit d5e5972

Browse files
authored
Merge pull request #464 from Microsoft/fix-android-patch
Fix android patch
2 parents 4353657 + 9448407 commit d5e5972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"rnpm": {
3838
"android": {
39-
"packageInstance": "new CodePush(${androidDeploymentKey}, this, BuildConfig.DEBUG)"
39+
"packageInstance": "new CodePush(${androidDeploymentKey}, getApplicationContext(), BuildConfig.DEBUG)"
4040
},
4141
"ios": {
4242
"sharedLibraries": [

0 commit comments

Comments
 (0)