add jsc , disable hermes
This commit is contained in:
parent
513ee69f91
commit
0f7ffcf297
|
@ -19,7 +19,7 @@ android {
|
|||
|
||||
dependencies {
|
||||
implementation 'com.facebook.react:react-native:+'
|
||||
implementation 'com.android.support:recyclerview-v7:28.0.1'
|
||||
implementation 'androidx.recyclerview:recyclerview:1.0.0'
|
||||
implementation 'com.google.zxing:core:3.4.0'
|
||||
implementation group: 'com.drewnoakes', name: 'metadata-extractor', version: '2.12.0'
|
||||
}
|
||||
|
|
|
@ -4,7 +4,8 @@ import com.android.build.OutputFile
|
|||
|
||||
|
||||
project.ext.react = [
|
||||
entryFile: "index.js"
|
||||
entryFile: "index.js",
|
||||
enableHermes: false // clean and rebuild if changing
|
||||
]
|
||||
|
||||
apply from: "../../node_modules/react-native/react.gradle"
|
||||
|
@ -79,11 +80,13 @@ configurations.all {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compile fileTree(dir: "libs", include: ["*.jar"])
|
||||
compile project(":rncamerakit")
|
||||
compile "com.android.support:appcompat-v7:28.0.1"
|
||||
compile 'com.android.support:multidex:1.0.3'
|
||||
compile "com.facebook.react:react-native:+" // From node_modules
|
||||
implementation fileTree(dir: "libs", include: ["*.jar"])
|
||||
implementation project(":rncamerakit")
|
||||
implementation 'androidx.appcompat:appcompat:1.0.0'
|
||||
implementation 'androidx.multidex:multidex:2.0.1'
|
||||
implementation "org.webkit:android-jsc-intl:r245459"
|
||||
implementation "com.facebook.react:react-native:+" // From node_modules
|
||||
|
||||
}
|
||||
|
||||
// Run this once to be able to run the application with BUCK
|
||||
|
|
|
@ -22,6 +22,10 @@ allprojects {
|
|||
url "$rootDir/../node_modules/react-native/android"
|
||||
}
|
||||
google()
|
||||
maven {
|
||||
// Local Maven repo containing AARs with JSC library built for Android
|
||||
url "$rootDir/../node_modules/jsc-android/dist"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -26,12 +26,13 @@
|
|||
"license": "MIT",
|
||||
"devDependencies": {
|
||||
"react": "16.9.x",
|
||||
"react-native": "0.61.x",
|
||||
"react-native": "0.61.3",
|
||||
"babel-jest": "22.4.1",
|
||||
"babel-preset-react-native": "5.0.2",
|
||||
"jest": "22.x.x",
|
||||
"react-test-renderer": "16.6.0",
|
||||
"metro-react-native-babel-preset": "0.51.0"
|
||||
"metro-react-native-babel-preset": "0.51.0",
|
||||
"jsc-android": "245459.0.0"
|
||||
},
|
||||
"homepage": "https://github.com/wix/react-native-camera-kit"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue