mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-09 20:25:15 +08:00
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
This commit is contained in:
@@ -256,7 +256,8 @@ To set this up, perform the following steps:
|
||||
buildTypes {
|
||||
debug {
|
||||
...
|
||||
// CodePush updates should not be tested in Debug mode
|
||||
// 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.
|
||||
buildConfigField "String", "CODEPUSH_KEY", '""'
|
||||
...
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user