Use react-native-obfuscating-transformer with EAS

Hi! Is it possible to use react-native-obfuscating-transformer with an Expo project? The readme states that I need to modify metro.config.js but how?


Hi @mgscreativa

I’ve had a brief look at their documentation and it seems like it should work.

See this: Metro bundler - Customizing

Note: You’ll need to extend Expo’s Metro config. You can’t just replace it with what react-native-obfuscating-transformer says. e.g. see the Adding more file extensions to assetExts example.

Just also bear in mind that if you want to do this so that you can store passwords and things like that in your code, a determined attacker will still be able to extract them from the app.

1 Like