Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 4aee947

Browse files
timscottRichard Hua
authored andcommitted
Update README.md (#751)
* Update README.md When I fail to supply a CODEPUSH_KEY variable for debug, the build fails. This pull fixes the example code. I also added a comment letting developers know to expect errors from CodePush in debug mode. (This behavior is surprising, but I believe is by design.) * Tweak comment
1 parent 124d057 commit 4aee947

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ To set this up, perform the following steps:
256256
buildTypes {
257257
debug {
258258
...
259-
// CodePush updates should not be tested in Debug mode
259+
// Note: CodePush updates should not be tested in Debug mode as they are overriden by the RN packager. However, because CodePush checks for updates in all modes, we must supply a key.
260+
buildConfigField "String", "CODEPUSH_KEY", '""'
260261
...
261262
}
262263

0 commit comments

Comments
 (0)