Update build.gradle
This commit is contained in:
parent
f4d58412a6
commit
adb2115d3b
@ -67,7 +67,7 @@ def getExtOrIntegerDefault(name) {
|
|||||||
return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties['VisionCamera_' + name]).toInteger()
|
return rootProject.ext.has(name) ? rootProject.ext.get(name) : (project.properties['VisionCamera_' + name]).toInteger()
|
||||||
}
|
}
|
||||||
|
|
||||||
// REA Common/ folder only exists since REA v2.
|
// plugin.js file only exists since REA v2.
|
||||||
def hasReanimated2 = file("${nodeModules}/react-native-reanimated/plugin.js").exists()
|
def hasReanimated2 = file("${nodeModules}/react-native-reanimated/plugin.js").exists()
|
||||||
def disableFrameProcessors = rootProject.ext.has("disableFrameProcessors") ? rootProject.ext.get("disableFrameProcessors").asBoolean() : false
|
def disableFrameProcessors = rootProject.ext.has("disableFrameProcessors") ? rootProject.ext.get("disableFrameProcessors").asBoolean() : false
|
||||||
def ENABLE_FRAME_PROCESSORS = hasReanimated2 && !disableFrameProcessors
|
def ENABLE_FRAME_PROCESSORS = hasReanimated2 && !disableFrameProcessors
|
||||||
|
Loading…
Reference in New Issue
Block a user