From adb2115d3be407783d77a7869a5e223f3c96eee0 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Tue, 4 Jan 2022 08:49:46 +0100 Subject: [PATCH] Update build.gradle --- android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 2f5f708..cd90d7b 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -67,7 +67,7 @@ def getExtOrIntegerDefault(name) { 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 disableFrameProcessors = rootProject.ext.has("disableFrameProcessors") ? rootProject.ext.get("disableFrameProcessors").asBoolean() : false def ENABLE_FRAME_PROCESSORS = hasReanimated2 && !disableFrameProcessors