Browse Source

fix_4724: Fixes android crashes on startup (#5132)

Makhout Nabil 5 years ago
parent
commit
ca288102d3
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      playground/android/app/build.gradle

+ 4
- 1
playground/android/app/build.gradle View File

@@ -2,7 +2,10 @@ apply plugin: "com.android.application"
2 2
 
3 3
 project.ext.react = [
4 4
         root     : "../../../",
5
-        entryFile: "index.js"
5
+        entryFile: "index.js",
6
+        bundleAssetName: "index.android.bundle",
7
+        bundleInAlpha: true,
8
+        bundleInBeta: true
6 9
 ]
7 10
 
8 11
 apply from: "../../../node_modules/react-native/react.gradle"