luicfrr / react-native-vision-camera-face-detector

Vision Camera Frame Processor Plugin to detect faces using MLKit Face Detector
https://www.npmjs.com/package/react-native-vision-camera-face-detector
MIT License
75 stars 16 forks source link

Frame Processor: Not working when creating release build #48

Closed SantoshYadavSridix closed 2 months ago

SantoshYadavSridix commented 2 months ago

using react-native-vision-camera-face-detector: 1.6.0

Nurmehemmed commented 2 months ago

@SantoshYadavSridix you can use 1.6.1 version. This problem fixed there already.

SantoshYadavSridix commented 2 months ago

Okay, i will check and let you know.

namnotfake commented 2 months ago

This problem fixed there already.

image "react-native-worklets-core": "^0.4.0", "react-native-vision-camera-face-detector": "^1.6.1", "react-native-vision-camera": "^4.0.0-beta.11", "react-native-reanimated": "3.8.1", I am configuring and getting the error as shown in the picture

SantoshYadavSridix commented 2 months ago

A problem occurred evaluating project ':react-native-vision-camera-face-detector'.

Plugin with id 'kotlin-android' not found.

SantoshYadavSridix commented 2 months ago

A problem occurred evaluating project ':react-native-vision-camera-face-detector'.

Plugin with id 'kotlin-android' not found.

After adding below line in android/build.gradle

ext.kotlinVersion = "1.9.0" classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")

Execution failed for task ':react-native-vision-camera:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction Compilation error. See log for more details

luicfrr commented 2 months ago

@SantoshYadavSridix you can use 1.6.1 version. This problem fixed there already.

This is the sollution. Closing as original problem was solved and new issues were opened with separated problems.