Closed dipak-agile closed 1 year ago
Closing this issue.. Found the solution. Just Need to add this in babel.config.js, Make sure to clean the project, clean derived data and restart the server
module.exports = {
presets: ['module:metro-react-native-babel-preset'],
plugins: [
[
'react-native-reanimated/plugin',
{
globals: ['__scanFaces']
},
]
],
};
Getting this error while using the scanFaces method.
ReferenceError: Can't find variable: __scanFaces