Fix icons

This commit is contained in:
Jannis Mattheis
2018-06-21 20:23:59 +02:00
parent 7440794da0
commit 997deba1fe

View File

@@ -73,11 +73,19 @@ import com.android.build.OutputFile
*/ */
project.ext.react = [ project.ext.react = [
entryFile: "index.js" entryFile: "index.js",
bundleInDebug: false,
bundleInRelease: true,
root: "../../"
] ]
apply from: "../../node_modules/react-native/react.gradle" apply from: "../../node_modules/react-native/react.gradle"
project.ext.vectoricons = [
iconFontNames: [ 'Ionicons.ttf' ] // Name of the font files you want to copy
]
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
/** /**
* Set this to true to create two separate APKs instead of one: * Set this to true to create two separate APKs instead of one:
* - An APK that only works on ARM devices * - An APK that only works on ARM devices