Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: Property 'ErrorUtils' doesnt exist #26

Open
branewyn opened this issue May 17, 2024 · 0 comments
Open

ReferenceError: Property 'ErrorUtils' doesnt exist #26

branewyn opened this issue May 17, 2024 · 0 comments

Comments

@branewyn
Copy link

Hi. i am trying to use this plugin to obfuscate my js files using expo and react native.
if i do not use this plugin the application compiles correctly. however added the suggested metro.config.js file causes the error mentioned in the title

i am using the latest expo sdk 51 for this. this was not an issue in expo sdk 49.
i cannot revert back to 49 because it is no longer supported by iOS 17.

I have tried this package with previous success and metro-minify-obfuscator with no success

essential packages i am using are listed below

"@expo/metro-runtime": "~3.2.1",
"@expo/webpack-config": "~19.0.1",
"expo": "~51.0.7",
"expo-application": "~5.9.1",
"expo-build-properties": "~0.12.1",
"expo-constants": "~16.0.1",
"obfuscator-io-metro-plugin": "^2.1.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.74.1",
"react-native-reanimated": "~3.10.1",
"react-native-safe-area-context": "4.10.1",
"react-native-screens": "3.31.1",
"react-native-web": "~0.19.10",
"typescript": "~5.3.3",
"webpack-obfuscator": "^3.5.1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant