[Docs] Add demos links for mutideployment testing (#1121)

This commit is contained in:
Ruslan Bikkinin
2017-12-27 17:44:59 +03:00
committed by GitHub
parent 2a051e4fe3
commit aa14c1e9dc
3 changed files with 11 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
### Android
> NOTE
>
> Complete demo configured with "multi-deployment testing" feature is [here](https://github.com/Microsoft/react-native-code-push/files/1314118/rncp1004.zip).
The [Android Gradle plugin](http://google.github.io/android-gradle-dsl/current/index.html) allows you to define custom config settings for each "build type" (e.g. debug, release), which in turn are generated as properties on the `BuildConfig` class that you can reference from your Java code. This mechanism allows you to easily configure your debug builds to use your CodePush staging deployment key and your release builds to use your CodePush production deployment key.
To set this up, perform the following steps: