I have been trying to install a plugin in my babel.config.js. The problem is that the plugins are being ignore entirely. I am using a expo dev client so maybe it could be related to that? I have cleared my cache multiple times, so that is not the issue. Any and all help would be appreciated, I have been trying to fix this issue for multiple days now and I none of the solutions ive found have worked. Thanks in advance.
My babel.config.js:
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [
[
'react-native-reanimated/plugin',
{
globals: ['__scanCodes'],
},
],
],
};
};
The error im getting:
ReferenceError: Property '__scanOCR' doesn't exist, js engine: hermes
I have tried reformating my babel.config.js and clearing the cache but it has not worked.