Skip to content

Commit

Permalink
android build [nfc]: Comment with "ram-bundle" example.
Browse files Browse the repository at this point in the history
Part of the RN v0.59 -> v0.60 changes to the template app [1]. This
commit may freely be positioned before the upgrade; a guide to this
setting has been available in RN v0.59 [2].

Corresponds to facebook/react-native@4478e5052, released in RN
v0.60.0.

[1]: https://react-native-community.github.io/upgrade-helper/?from=0.59.10&to=0.60.6

[2]: https://reactnative.dev/docs/0.59/performance#enable-the-ram-format
  • Loading branch information
chrisbobbe committed May 27, 2020
1 parent cc54744 commit 65c75cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ import com.android.build.OutputFile
* // the entry file for bundle generation
* entryFile: "index.android.js",
*
* // https://facebook.github.io/react-native/docs/performance#enable-the-ram-format
* bundleCommand: "ram-bundle",
*
* // whether to bundle JS and assets in debug mode
* bundleInDebug: false,
*
Expand Down

0 comments on commit 65c75cc

Please sign in to comment.