android: workaround for building

Somehow the bundle doesn't get included in the APK when I build this branch on
one laptop, but works on another, go figure. All of this has changed with the RN
0.59 update, so this is just a band-aid for 19.0 builds.
This commit is contained in:
Saúl Ibarra Corretgé
2019-03-25 11:31:37 +01:00
parent bf6c41adb1
commit 3fd2f4052f

View File

@@ -139,8 +139,8 @@ android.libraryVariants.all { def variant ->
//
if (currentBundleTask.enabled) {
copy {
from(jsBundleDir)
into(assetsDir)
from(jsBundleFile)
into("${assetsDir}/")
}
}
}