Updating Java example to set debug mode

This commit is contained in:
Jonathan Carter
2016-01-17 21:55:36 -08:00
parent bc8d8ad5f2
commit 9cd57f54b5

View File

@@ -163,7 +163,7 @@ After installing the plugin and syncing your Android Studio project with Gradle,
protected void onCreate(Bundle savedInstanceState) {
...
// 3. Initialize CodePush with your deployment key and an instance of your MainActivity.
CodePush codePush = new CodePush("d73bf5d8-4fbd-4e55-a837-accd328a21ba", this);
CodePush codePush = new CodePush("d73bf5d8-4fbd-4e55-a837-accd328a21ba", this, BuildConfig.DEBUG);
...
mReactInstanceManager = ReactInstanceManager.builder()
.setApplication(getApplication())