Tweak docs again

This commit is contained in:
Geoffrey Goh
2015-11-23 18:27:53 -08:00
parent 0d849b55aa
commit 883a32b85f

View File

@@ -128,13 +128,16 @@ After installing the plugin and sync-ing your Android Studio project with Gradle
mReactInstanceManager = ReactInstanceManager.builder()
.setApplication(getApplication())
...
// 4. Let CodePush determine which location to load the most updated bundle from.
.setBundleAssetName("index.android.bundle") // <----- 4. Delete this line
// 5. Let CodePush determine which location to load the most updated bundle from.
// If there is no updated bundle from CodePush, the location will be the assets
// folder with the name of the bundle passed in, e.g. index.android.bundle
.setJSBundleFile(codePush.getBundleUrl("index.android.bundle"))
// 5. Expose the CodePush module to JavaScript.
// 6. Expose the CodePush module to JavaScript.
.addPackage(codePush.getReactPackage())
...
}
}
```